Files
nix-flake/hosts/takamaki/modules/virt-manager.nix
T

20 lines
350 B
Nix

{
pkgs,
config,
...
}: {
virtualisation.libvirtd = {
enable = true;
qemu.vhostUserPackages = with pkgs; [ virtiofsd ];
};
programs.virt-manager.enable = true;
users.users.grey.extraGroups = [ "libvirtd" ];
environment.systemPackages = with pkgs; [
dnsmasq
];
networking.firewall.trustedInterfaces = [ "virbr0" ];
}