nixos/installer/tools: only enable tools if nix is enabled (#344132)

This commit is contained in:
Jörg Thalheim
2024-09-24 11:22:51 +02:00
committed by GitHub

View File

@@ -216,7 +216,7 @@ in
imports = let
mkToolModule = { name, package ? pkgs.${name} }: { config, ... }: {
options.system.tools.${name}.enable = lib.mkEnableOption "${name} script" // {
default = true;
default = config.nix.enable;
internal = true;
};