mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 23:03:41 +00:00
nixos/tools: set the enable options with mkDefault
This makes it easier to enable some of them again.
This commit is contained in:
parent
0605f7dd71
commit
ba3e5b02f6
@ -238,13 +238,13 @@ in
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf config.system.disableInstallerTools {
|
||||
system.tools = {
|
||||
nixos-build-vms.enable = false;
|
||||
nixos-enter.enable = false;
|
||||
nixos-generate-config.enable = false;
|
||||
nixos-install.enable = false;
|
||||
nixos-option.enable = false;
|
||||
nixos-rebuild.enable = false;
|
||||
nixos-version.enable = false;
|
||||
nixos-build-vms.enable = lib.mkDefault false;
|
||||
nixos-enter.enable = lib.mkDefault false;
|
||||
nixos-generate-config.enable = lib.mkDefault false;
|
||||
nixos-install.enable = lib.mkDefault false;
|
||||
nixos-option.enable = lib.mkDefault false;
|
||||
nixos-rebuild.enable = lib.mkDefault false;
|
||||
nixos-version.enable = lib.mkDefault false;
|
||||
};
|
||||
})
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user