diff options
author | Tim Keller <tjkeller.xyz> | 2025-01-09 10:30:58 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-01-09 10:30:58 -0600 |
commit | 7f7b84548461de85cb1e9b464c6bf8c69fa772a4 (patch) | |
tree | c73eb5f763dca405123e15838c0d6078d213dee9 /modules/root/nas.nix | |
parent | 5a5db9ba8dd772d748b56630a9c08ccdfaa6c8db (diff) | |
download | nixos-7f7b84548461de85cb1e9b464c6bf8c69fa772a4.tar.xz nixos-7f7b84548461de85cb1e9b464c6bf8c69fa772a4.zip |
fix automount
Diffstat (limited to 'modules/root/nas.nix')
-rw-r--r-- | modules/root/nas.nix | 2 |
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 = { |