diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-03-21 22:28:37 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-03-21 23:14:10 +0100 |
commit | eb8b70c020e6693b29634660fa173d7f14f882eb (patch) | |
tree | 892a39b53b5e3c7554ba56be06f2352755906984 /nixos/modules/installer | |
parent | 8f57dc38d93d9a6b8a792e7cd963af676a1de252 (diff) | |
download | nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.tar nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.tar.gz nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.tar.bz2 nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.tar.lz nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.tar.xz nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.tar.zst nixlib-eb8b70c020e6693b29634660fa173d7f14f882eb.zip |
nixos: Make config.nix.enable pass test
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/tools/tools.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index 71aaf7f253d9..2e088b977710 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -117,7 +117,7 @@ in ''; }; - config = lib.mkIf (!config.system.disableInstallerTools) { + config = lib.mkIf (config.nix.enable && !config.system.disableInstallerTools) { system.nixos-generate-config.configuration = mkDefault '' # Edit this configuration file to define what should be installed on |