add virtualization

This commit is contained in:
2026-08-21 23:53:30 +02:00
parent fad85558d1
commit e6b53a2f00
4 changed files with 29 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
programs.virt-manager.enable = true;
users.groups.libvirtd.members = [ "user" ];
virtualisation.libvirtd = {
enable = true;
qemu.vhostUserPackages = with pkgs; [ virtiofsd ];
};
virtualisation.spiceUSBRedirection.enable = true;
}