diff --git a/nixos/hosts/nuc-server/mounts.nix b/nixos/hosts/nuc-server/mounts.nix index 2ebc8487..58c1abcb 100644 --- a/nixos/hosts/nuc-server/mounts.nix +++ b/nixos/hosts/nuc-server/mounts.nix @@ -1,10 +1,17 @@ { networking.extraHosts = '' 100.64.0.2 synology.servers.hs.net ''; + services.rpcbind.enable = true; + fileSystems."/Storage" = { device = "synology.servers.hs.net:/volume1/Storage"; fsType = "nfs"; 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 + ]; }; }