c3h-nixfiles/shared-services/nfs-client.nix

16 lines
268 B
Nix
Raw Normal View History

2021-10-24 18:55:12 +00:00
{ ... }:
{
boot.supportedFilesystems = [ "nfs" ];
fileSystems."/mnt/Music" = {
device = "10.23.42.126:/music";
fsType = "nfs";
options = [
"nfsvers=4.1"
"noauto"
"x-systemd.automount"
"x-systemd.idle-timeout=600"
];
};
}