From 108c6ea3fed5a1cd774a41bbf5bdd8677cc6f508 Mon Sep 17 00:00:00 2001 From: Glen Goodwin Date: Thu, 28 Sep 2023 00:41:16 -0400 Subject: [PATCH] add nfs automounts to system cfg --- hosts/thinkpad/hardware-configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/thinkpad/hardware-configuration.nix b/hosts/thinkpad/hardware-configuration.nix index 8e44888..f79b03f 100644 --- a/hosts/thinkpad/hardware-configuration.nix +++ b/hosts/thinkpad/hardware-configuration.nix @@ -20,6 +20,20 @@ fsType = "ext4"; }; + fileSystems."/home/glen/media" = + { + device = "192.168.10.2:/mnt/tank/media"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "x-systemd.after=network-online.target" "x-systemd.mount-timeout=90" ]; + }; + + fileSystems."/home/glen/books" = + { + device = "192.168.10.2:/mnt/tank/books"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "x-systemd.after=network-online.target" "x-systemd.mount-timeout=90" ]; + }; + boot.initrd.luks.devices."luks-9d4b251f-b7d5-4a28-8e5d-6df09b434e47".device = "/dev/disk/by-uuid/9d4b251f-b7d5-4a28-8e5d-6df09b434e47"; fileSystems."/boot/efi" =