Skip to content

Commit

Permalink
nixos/tools: add enable options to manual (NixOS#356992)
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 authored Nov 18, 2024
2 parents d43eaad + 859c76c commit 45533e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/installer/tools/tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ in
mkToolModule = { name, package ? pkgs.${name} }: { config, ... }: {
options.system.tools.${name}.enable = lib.mkEnableOption "${name} script" // {
default = config.nix.enable && ! config.system.disableInstallerTools;
internal = true;
defaultText = "config.nix.enable && !config.system.disableInstallerTools";
};

config = lib.mkIf config.system.tools.${name}.enable {
Expand Down

0 comments on commit 45533e4

Please sign in to comment.