From 7017afd68662b9be394e9dd0b0d49b517d9350d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 12 May 2024 13:03:13 +0200 Subject: [PATCH] Add lbivirt --- system/libvirt.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 system/libvirt.nix 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; + }; + }; + }; +}