nixos/installer/tools: only enable tools if nix is enabled (#344132)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user