diff --git a/systems/ren/volumes.nix b/systems/ren/volumes.nix index acfe1ef..75d8c0f 100644 --- a/systems/ren/volumes.nix +++ b/systems/ren/volumes.nix @@ -24,7 +24,7 @@ options = let # this line prevents hanging on network split - automount_opts = "rw,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,dir_mode=0777,gid=993"; + automount_opts = "rw,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,dir_mode=0770,file_mode=0770,gid=993"; in [ "${automount_opts},credentials=${config.age.secrets.smbsecret.path}" ];