This commit is contained in:
caem 2024-06-27 20:59:55 +02:00
parent 72810100dc
commit 5b4a53f099
Signed by: caem
GPG key ID: 69A830D03203405F
4 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
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];
};
};
};
programs.virt-manager.enable = true;
}