fix: failed to boot - replace device name by uuid

This commit is contained in:
Ryan Yin
2024-01-28 09:56:40 +08:00
parent 63d686ad3a
commit 0504d0503b
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -9,10 +9,9 @@
fsType = "cifs";
options = [
# https://www.freedesktop.org/software/systemd/man/latest/systemd.mount.html
"nofail,_netdev,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"
"nofail,_netdev"
"uid=1000,gid=100,dir_mode=0755,file_mode=0755"
"vers=3.0,credentials=${config.age.secrets.smb-credentials.path}"
];
depends = ["/persistent" "/boot" "/swap/swapfile"];
};
}