qemu: Add secureboot + tmp2 support
All checks were successful
check / check (push) Successful in 33s
All checks were successful
check / check (push) Successful in 33s
This commit is contained in:
parent
701f7699f8
commit
31e3bbe9e9
1 changed files with 15 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue