diff --git a/system/libvirt.nix b/system/libvirt.nix new file mode 100644 index 0000000..20456a5 --- /dev/null +++ b/system/libvirt.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: +{ + virtualisation.libvirtd = { + enable = true; + qemu = { + package = pkgs.qemu_kvm; + runAsRoot = true; + swtpm.enable = true; + ovmf = { + enable = true; + }; + }; + }; +}