nix/nixos/hosts/nuc-server/mounts.nix
2024-11-20 23:02:10 +01:00

10 lines
308 B
Nix

{
networking.extraHosts = '' 100.64.0.2 synology.servers.hs.net '';
fileSystems."/Storage" = {
device = "synology.servers.hs.net:/volume1/Storage";
fsType = "nfs";
mountPoint = "/Storage";
options = [ "x-systemd.automount" "noauto" ]; # Add these options for better reliability
};
}