pinwheel: Add ability to forward USB devices to VMs
This commit is contained in:
1 parent
161456b7d1
commit
164deec80e
1 file changed
+4
-1
@@ -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" ];
|
||||
|
||||
Reference in new issue
Block a user