From ddda065ce8832432833be9e230011584ca8a24ce Mon Sep 17 00:00:00 2001 From: Kabbone Date: Wed, 2 Nov 2022 15:10:28 +0100 Subject: [PATCH] add nfs mount to laptop --- hosts/laptop/hardware-configuration.nix | 7 +++++++ modules/services/default.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 1ca0e06..dda4e60 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -59,6 +59,13 @@ fsType = "vfat"; }; + fileSystems."/mnt/Herkules" = + { device = "truenas:/mnt/Herkules"; + fsType = "nfs"; + options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ]; + }; + + swapDevices = [ ]; networking = { diff --git a/modules/services/default.nix b/modules/services/default.nix index 0b48548..75a129b 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -16,7 +16,7 @@ #./picom.nix #./polybar.nix #./sxhkd.nix - ./udiskie.nix + #./udiskie.nix #./redshift.nix ./kanshi.nix ]