Update nuc-server mounts

This commit is contained in:
albert 2024-11-21 18:58:39 +01:00
parent 95598c0bc1
commit c3529d6fe6
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -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
];
}; };
} }