From 07100d1a011787bbce6e5d7232262ba8e455c666 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Mon, 20 May 2024 20:26:56 +0200 Subject: [PATCH] appserver nfs --- appserver/configuration.nix | 2 +- laptop/hardware-configuration.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/appserver/configuration.nix b/appserver/configuration.nix index 4126b17..79a9f47 100644 --- a/appserver/configuration.nix +++ b/appserver/configuration.nix @@ -34,7 +34,7 @@ # Mount remote filesystem fileSystems."/mnt/remote/media" = { - device = "files:/mnt/storage/"; + device = "files:/mnt/storage"; fsType = "nfs"; }; diff --git a/laptop/hardware-configuration.nix b/laptop/hardware-configuration.nix index 9a88065..15a0446 100644 --- a/laptop/hardware-configuration.nix +++ b/laptop/hardware-configuration.nix @@ -19,6 +19,11 @@ { device = "/dev/disk/by-uuid/28E2-7988"; fsType = "vfat"; }; + fileSystems."/home/geir/nfs" = + { device = "files:/mnt/storage"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; + }; swapDevices = [ ];