add packages to libvirtd
This commit is contained in:
parent
479eac2217
commit
f38be57cac
|
@ -8,9 +8,15 @@
|
||||||
};
|
};
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
qemu.ovmf.enable = true;
|
qemu = {
|
||||||
qemu.swtpm.enable = true;
|
ovmf.enable = true;
|
||||||
qemu.runAsRoot = false;
|
ovmf.packages = [ pkgs.OVMFFull.fd ]
|
||||||
|
++ lib.optional (pkgs.system == "x86_64-linux")
|
||||||
|
pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd;
|
||||||
|
swtpm.enable = true;
|
||||||
|
vhostUserPackages = [ pkgs.virtiofsd ];
|
||||||
|
runAsRoot = false;
|
||||||
|
};
|
||||||
onBoot = "ignore";
|
onBoot = "ignore";
|
||||||
onShutdown = "shutdown";
|
onShutdown = "shutdown";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue