feat(music): do not mount remote music share, use syncthing to copy locally
This commit is contained in:
parent
8633b82eca
commit
2b19dfc02b
1 changed files with 0 additions and 10 deletions
10
t470.nix
10
t470.nix
|
|
@ -13,16 +13,6 @@
|
||||||
|
|
||||||
networking.hostName = "t470"; # Define your hostname.
|
networking.hostName = "t470"; # Define your hostname.
|
||||||
|
|
||||||
# automount smb music share
|
|
||||||
fileSystems."/home/khais/Music" = {
|
|
||||||
device = "//void/Music";
|
|
||||||
fsType = "cifs";
|
|
||||||
options = let
|
|
||||||
# prevent hanging when network is not reachable
|
|
||||||
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
|
||||||
in [ "${automount_opts},credentials=/etc/nixos/secrets/music.smb" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home/khais/Books" = {
|
fileSystems."/home/khais/Books" = {
|
||||||
device = "//void/Books";
|
device = "//void/Books";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue