qemu: Add secureboot + tmp2 support
All checks were successful
check / check (push) Successful in 33s

This commit is contained in:
Florian RICHER 2025-02-01 14:13:45 +01:00
parent 701f7699f8
commit 31e3bbe9e9
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77

View file

@ -16,7 +16,21 @@ in
users.groups.libvirtd.members = ["florian"];
users.users.florian.extraGroups = [ "libvirtd" ];
virtualisation.libvirtd.enable = true;
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];
};
};
};
virtualisation.spiceUSBRedirection.enable = true;
};