{ fileSystems = let automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"; perm_opts = "uid=1001,gid=100"; smb_opts = [ "vers=2.0,credentials=/home/tristand/.smb-secrets" perm_opts automount_opts ]; in { "/mnt/ServerF" = { # device = "//srv-nas-01.local/Server_F"; device = "//192.168.0.1/Server_F"; fsType = "cifs"; options = smb_opts; }; "/mnt/Scans" = { # device = "//srv-nas-01.local/Server_F"; device = "//192.168.0.1/Scans"; fsType = "cifs"; options = smb_opts; }; }; }