{ config, lib, pkgs, inputs, ... }: { users.users.nicolaivds.extraGroups = [ "kvm" "input" "libvirtd" ]; environment.systemPackages = with pkgs; [ virt-manager virt-viewer win-spice win-virtio spice spice-gtk spice-protocol ]; services.spice-vdagentd.enable = true; virtualisation = { spiceUSBRedirection.enable = true; libvirtd = { enable = true; allowedBridges = ["wlo1"]; qemu = { swtpm.enable = true; ovmf = { enable = true; packages = [ pkgs.OVMFFull.fd ]; }; }; }; }; }