Skip to content

Commit 81c646c

Browse files
authored
nixos/installer/tools: only enable tools if nix is enabled (#344132)
2 parents 73e0dd9 + e9a78e0 commit 81c646c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/installer/tools/tools.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ in
216216
imports = let
217217
mkToolModule = { name, package ? pkgs.${name} }: { config, ... }: {
218218
options.system.tools.${name}.enable = lib.mkEnableOption "${name} script" // {
219-
default = true;
219+
default = config.nix.enable;
220220
internal = true;
221221
};
222222

0 commit comments

Comments
 (0)