unas mount

This commit is contained in:
2025-12-29 21:02:46 +09:00
parent 7db85847be
commit 1c41ddb950
3 changed files with 19 additions and 0 deletions
+16
View File
@@ -9,4 +9,20 @@
[
./hardware-configuration.nix
];
fileSystems."/mnt/immich-nfs" = {
device = "unas.moons14.com:/var/nfs/shared/immich/mnt";
fsType = "nfs";
options = [
"nfsvers=4.2" # 可能なら NFSv4 系を推奨
"hard"
"timeo=600"
"retrans=2"
"noatime"
"_netdev"
"nofail"
"x-systemd.requires=network-online.target"
"x-systemd.after=network-online.target"
];
};
}