This commit is contained in:
2026-01-21 16:30:18 -06:00
parent 69d16e38a8
commit 514e4864ca
5 changed files with 14 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
{ config, lib, ... }: {
options.sysconfig.virtualization.enable = with lib; mkOption {
options.sysconfig.virtual-machines.enable = with lib; mkOption {
type = with types; bool;
default = false;
};
@@ -12,7 +12,7 @@
(builtins.attrNames dir)
);
config = lib.mkIf config.sysconfig.virtualisation.enable {
config = lib.mkIf config.sysconfig.virtual-machines.enable {
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;

View File

@@ -0,0 +1,12 @@
{ config, lib, ... }: {
options.sysconfig.virtual-machines.home-assistant = {
enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.sysconfig.virtual-machines.home-assistant.enable {
};
}