This commit is contained in:
Tao Tien 2025-12-02 17:33:57 -08:00
parent 78c1198d90
commit fada7e988b
4 changed files with 24 additions and 6 deletions

View file

@ -3,7 +3,25 @@
systemd.mounts = let
opts = {
type = "cifs";
mountConfig = {Options = "noauto,noatime,async,users,rw,x-systemd.automount,credentials=${config.age.secrets.uwuraid.path},gid=users,file_mode=0777,dir_mode=0777";};
mountConfig = {
# Options = "noauto,noatime,async,users,rw,x-systemd.automount,credentials=${config.age.secrets.uwuraid.path},file_mode=0777,dir_mode=0777";
Options = [
"_netdev"
"noserverino"
"noauto"
"noatime"
"async"
"users"
"rw"
"x-systemd.automount"
"x-systemd.requires=network-online.target"
"nofail"
"soft"
"credentials=${config.age.secrets.uwuraid.path}"
"file_mode=0777"
"dir_mode=0777"
];
};
};
in [
(opts