From c3529d6fe69b9a47115a554365f89e9af9dec1be Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 21 Nov 2024 18:58:39 +0100 Subject: [PATCH] Update nuc-server mounts --- nixos/hosts/nuc-server/mounts.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 + ]; }; }