From 8fde10cc50ad4b7ab3b576749f014630a1f222d8 Mon Sep 17 00:00:00 2001 From: Stefan Kempinger Date: Wed, 28 Jan 2026 15:49:03 +0100 Subject: [PATCH] Enable libvirtd and add inspection tools Rename group "libvirt" to "libvirtd". Add diffoscope and nix-index to systemPackages. Replace hplipWithPlugin with hplip. Enable spice USB redirection and add pkgs.virtiofsd to virtualisation.libvirtd.qemu.vhostUserPackages. --- kemptop/configuration.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kemptop/configuration.nix b/kemptop/configuration.nix index 319584c..13c3bdc 100644 --- a/kemptop/configuration.nix +++ b/kemptop/configuration.nix @@ -96,7 +96,7 @@ "adbusers" "wireshark" "networkmanager" - "libvirt" + "libvirtd" ]; }; @@ -137,6 +137,8 @@ ffmpeg-full ghex wireguard-tools + diffoscope + nix-index # GUI programs @@ -197,7 +199,7 @@ services.flatpak.enable = true; services.printing.enable = true; services.hardware.bolt.enable = true; - services.printing.drivers = [ pkgs.hplipWithPlugin ]; + services.printing.drivers = [ pkgs.hplip ]; services.avahi = { enable = true; nssmdns4 = true; @@ -243,8 +245,10 @@ enable = true; dockerCompat = true; }; + virtualisation.spiceUSBRedirection.enable = true; virtualisation.libvirtd.enable = true; - + virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ]; + systemd.user.extraConfig = '' DefaultEnvironment="PATH=/run/wrappers/bin:/home/%u/.nix-profile/bin:/nix/profile/bin:/home/%u/.local/state/nix/profile/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" '';