nixos/tools: set the enable options with mkDefault

This makes it easier to enable some of them again.
This commit is contained in:
r-vdp 2024-11-02 18:18:37 +01:00
parent 0605f7dd71
commit ba3e5b02f6
No known key found for this signature in database

View File

@ -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;
};
})
{