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;