diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nfs.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/nfs.nix b/modules/nfs.nix new file mode 100644 index 0000000..f997f28 --- /dev/null +++ b/modules/nfs.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + fileSystems."/mnt/books" = { + device = "10.67.40.1:/home/christian/books"; + fsType = "nfs"; + options = [ + "x-systemd.automount" + "x-systemd.requires=wg-quick-wg0.service" + "x-systemd.after=wg-quick-wg0.service" + "noauto" + "soft" + "timeo=30" + ]; + }; +} |
