summaryrefslogtreecommitdiff
path: root/modules/root
diff options
context:
space:
mode:
Diffstat (limited to 'modules/root')
-rw-r--r--modules/root/nas.nix2
1 files changed, 1 insertions, 1 deletions
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 = {