Update nuc-server mounts
This commit is contained in:
parent
95598c0bc1
commit
c3529d6fe6
1 changed files with 8 additions and 1 deletions
|
@ -1,10 +1,17 @@
|
||||||
{
|
{
|
||||||
networking.extraHosts = '' 100.64.0.2 synology.servers.hs.net '';
|
networking.extraHosts = '' 100.64.0.2 synology.servers.hs.net '';
|
||||||
|
|
||||||
|
services.rpcbind.enable = true;
|
||||||
|
|
||||||
fileSystems."/Storage" = {
|
fileSystems."/Storage" = {
|
||||||
device = "synology.servers.hs.net:/volume1/Storage";
|
device = "synology.servers.hs.net:/volume1/Storage";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
mountPoint = "/Storage";
|
mountPoint = "/Storage";
|
||||||
options = [ "x-systemd.automount" "noauto" ]; # Add these options for better reliability
|
options = [
|
||||||
|
"x-systemd.automount"
|
||||||
|
"_netdev"
|
||||||
|
"x-systemd.requires=tailscaled.service" # Ensure Tailscale is ready
|
||||||
|
"nofail" # Don't fail boot if mount fails
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue