From 07c30a89241ef19e58363d0d35f5eb4285ac23fc Mon Sep 17 00:00:00 2001 From: vanten-s Date: Mon, 25 Mar 2024 12:52:45 +0100 Subject: [PATCH] Fixed perms --- configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index c26fdd7..35870de 100644 --- a/configuration.nix +++ b/configuration.nix @@ -189,7 +189,7 @@ in { # 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"; - in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=1000"]; + in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"]; }; fileSystems."/mnt/development" = { @@ -199,7 +199,7 @@ in { # 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"; - in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=1000"]; + in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"]; }; # Some programs need SUID wrappers, can be configured further or are