diff --git a/network-shares.nix b/network-shares.nix index 76ae6ed..1593ac5 100644 --- a/network-shares.nix +++ b/network-shares.nix @@ -9,7 +9,7 @@ # this line prevents hanging on network split 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/smb-secrets,uid=${toString config.users.users.shatteredmint.uid},gid=${toString config.users.groups.users.gid}"]; + in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=${toString config.users.users.shatteredmint.uid},gid=${toString config.users.groups.users.gid},actimeo=0"]; }; fileSystems."/mnt/share/shared" = { device = "//192.168.178.108/shared";