diff --git a/configuration.nix b/configuration.nix index 5209129..46a7034 100644 --- a/configuration.nix +++ b/configuration.nix @@ -188,7 +188,7 @@ in { fsType = "cifs"; options = let # 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,user,users"; + automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,user,users,exec"; in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"]; }; @@ -198,7 +198,7 @@ in { fsType = "cifs"; options = let # 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,user,users"; + automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,user,users,exec"; in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"]; };