feat(music): do not mount remote music share, use syncthing to copy locally

This commit is contained in:
Khaïs COLIN 2024-09-15 11:13:50 +02:00
parent 8633b82eca
commit 2b19dfc02b

View file

@ -13,16 +13,6 @@
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" = {
device = "//void/Books";
fsType = "cifs";