mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
unas mount
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user