pinwheel: Add ability to forward USB devices to VMs

This commit is contained in:
Alexander Heldt
2024-06-10 08:36:36 +02:00
parent 5cd8cf14f4
commit b0a7b2c0bb

View File

@@ -10,7 +10,10 @@ in
};
config = lib.mkIf enabled {
virtualisation.libvirtd.enable = true;
virtualisation = {
spiceUSBRedirection.enable = true; # Allow redirecting USB to the VM
libvirtd.enable = true;
};
users.users.alex = {
extraGroups = [ "libvirtd" ];