From 7f7b84548461de85cb1e9b464c6bf8c69fa772a4 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 9 Jan 2025 10:30:58 -0600 Subject: fix automount --- modules/root/nas.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/root') diff --git a/modules/root/nas.nix b/modules/root/nas.nix index 525456e..0116ba3 100644 --- a/modules/root/nas.nix +++ b/modules/root/nas.nix @@ -3,7 +3,7 @@ let mkNetworkFileSystem = device: automount: { device = "${device}"; fsType = "nfs"; - options = [ "defaults" ] ++ lib.optionals automount [ "noauto" ]; + options = [ "defaults" ] ++ lib.optionals (!automount) [ "noauto" ]; }; in { options = { -- cgit v1.2.3