qemu options
This commit is contained in:
@@ -24,5 +24,34 @@ in
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
# qemu
|
||||
qemu = {
|
||||
enable = lib.mkEnableOption "QEMU support";
|
||||
|
||||
containers = lib.mkEnableOption "Enable container support for QEMU" {
|
||||
enable = true;
|
||||
default = false;
|
||||
};
|
||||
|
||||
spiceUSBRedirection = lib.mkEnableOption "Enable spice USB redirection support for QEMU" {
|
||||
enable = true;
|
||||
default = false;
|
||||
};
|
||||
|
||||
virtManager = lib.mkEnableOption "Enable virt-manager support for QEMU" {
|
||||
enable = true;
|
||||
default = false;
|
||||
};
|
||||
|
||||
bootModules = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [
|
||||
"kvm-intel"
|
||||
"kvm-amd"
|
||||
];
|
||||
description = "The kernel modules to load for QEMU support.";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user