nix/nixos/hosts/nuc-server/mounts.nix

18 lines
443 B
Nix
Raw Normal View History

{
2024-10-29 12:13:25 +01:00
networking.extraHosts = '' 100.64.0.2 synology.servers.hs.net '';
2024-11-21 18:58:39 +01:00
services.rpcbind.enable = true;
2024-08-22 06:26:11 +02:00
fileSystems."/Storage" = {
device = "synology.servers.hs.net:/volume1/Storage";
fsType = "nfs";
2024-11-20 23:02:10 +01:00
mountPoint = "/Storage";
2024-11-21 18:58:39 +01:00
options = [
"x-systemd.automount"
"_netdev"
"x-systemd.requires=tailscaled.service" # Ensure Tailscale is ready
"nofail" # Don't fail boot if mount fails
];
2024-08-22 06:26:11 +02:00
};
2024-03-22 03:37:18 +01:00
}