depot/hosts/VEGAS/modules/virtualisation/default.nix

15 lines
250 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
2021-10-16 20:29:29 +03:00
{
virtualisation.libvirtd = {
enable = true;
qemu.package = pkgs.qemu_kvm;
};
security.polkit.enable = true;
2021-10-16 20:29:29 +03:00
# TODO: maybe be more strict
networking.firewall.trustedInterfaces = [
"vmcore"
"vmdefault"
];
}