MOUNT PERMISSIONS MAKE DO DAMN SENSE

This commit is contained in:
Tao Tien 2025-03-09 01:21:37 -08:00
parent 1c927edc51
commit ba0ef0ac12

View file

@ -3,7 +3,7 @@
systemd.mounts = let systemd.mounts = let
opts = { opts = {
type = "cifs"; type = "cifs";
mountConfig = {Options = "x-systemd.automount,users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,gid=100";}; mountConfig = {Options = "noauto,noatime,async,users,rw,x-systemd.automount,credentials=${config.age.secrets.uwuraid.path},gid=users,file_mode=0770,dir_mode=0770";};
}; };
in [ in [
(opts (opts
@ -75,7 +75,10 @@
systemd.automounts = let systemd.automounts = let
opts = { opts = {
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
automountConfig = {TimeoutIdleSec = "60";}; automountConfig = {
TimeoutIdleSec = "60";
# DirectoryMode
};
}; };
in [ in [
(opts // {where = "/mnt/uwuraid/anime";}) (opts // {where = "/mnt/uwuraid/anime";})