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

14 lines
217 B
Nix
Raw Normal View History

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