18 lines
328 B
Nix
18 lines
328 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.virt-manager.enable = true;
|
|
|
|
users.groups.libvirtd.members = [ "user" ];
|
|
|
|
virtualisation.libvirtd = {
|
|
enable = true;
|
|
qemu.vhostUserPackages = with pkgs; [ virtiofsd ];
|
|
};
|
|
|
|
virtualisation.spiceUSBRedirection.enable = true;
|
|
|
|
boot.binfmt.emulatedSystems = [
|
|
"aarch64-linux"
|
|
];
|
|
}
|