From 49e2aeaea67df274f8f0c60f6ad9a3d471f9ffa5 Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Sat, 31 Aug 2024 02:16:34 +0200 Subject: [PATCH] . --- configuration.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 1984af0..a130616 100644 --- a/configuration.nix +++ b/configuration.nix @@ -150,7 +150,7 @@ users.users.zilti = { isNormalUser = true; - extraGroups = [ "wheel" "libvirtd" ]; + extraGroups = [ "wheel" "libvirtd" "kvm" "qemu" ]; }; services.fprintd = { @@ -173,6 +173,7 @@ git gnumake fido2luks + spice ]; programs.virt-manager.enable = true; @@ -180,6 +181,12 @@ virtualisation = { libvirtd = { enable = true; + qemu = { + package = pkgs.qemu_kvm; + runAsRoot = true; + swtpm.enable = true; + vhostUserPackages = [ pkgs.virtiofsd ]; + }; }; # podman = { # enable = true;