Skip to content

Commit

Permalink
Fix file system mount permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 27, 2023
1 parent c8c8a77 commit 2772399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/base/users/christian.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in
fsType = "cifs";
credentials = config.age.secrets."${secretSmb}".path;
automount_opts = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=60" "x-systemd.device-timeout=5s" "x-systemd.mount-timeout=5s" ];
auth_opts = [ "uid=1000" "gid=0" "credentials=${credentials}" ];
auth_opts = [ "uid=1000" "gid=100" "dir_mode=0700" "file_mode=0700" "credentials=${credentials}" ];
options = automount_opts ++ auth_opts;
in
{
Expand Down

0 comments on commit 2772399

Please sign in to comment.