17 lines
443 B
Nix
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
|
|
];
|
|
};
|
|
}
|