create qemu module

This commit is contained in:
2024-12-28 23:32:52 +01:00
parent 1a478ba01e
commit 7a8597cdef
3 changed files with 39 additions and 22 deletions

View File

@ -86,27 +86,6 @@
security.polkit.enable = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
virtualisation = {
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
})
.fd
];
};
};
};
};
# List services that you want to enable:
# fingerprint unlock