nix/nixos/hosts/nuc-server/mounts.nix
2024-11-21 18:58:39 +01:00

17 lines
443 B
Nix

{
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"
"_netdev"
"x-systemd.requires=tailscaled.service" # Ensure Tailscale is ready
"nofail" # Don't fail boot if mount fails
];
};
}