summaryrefslogtreecommitdiff
path: root/modules/nfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nfs.nix')
-rw-r--r--modules/nfs.nix16
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"
+ ];
+ };
+}