pinwheel: Add ability to forward USB devices to VMs
This commit is contained in:
@@ -10,7 +10,10 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf enabled {
|
config = lib.mkIf enabled {
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation = {
|
||||||
|
spiceUSBRedirection.enable = true; # Allow redirecting USB to the VM
|
||||||
|
libvirtd.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
users.users.alex = {
|
users.users.alex = {
|
||||||
extraGroups = [ "libvirtd" ];
|
extraGroups = [ "libvirtd" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user