14 lines
250 B
Nix
14 lines
250 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
virtualisation.libvirtd = {
|
|
enable = true;
|
|
qemu.package = pkgs.qemu_kvm;
|
|
};
|
|
security.polkit.enable = true;
|
|
# TODO: maybe be more strict
|
|
networking.firewall.trustedInterfaces = [
|
|
"vmcore"
|
|
"vmdefault"
|
|
];
|
|
}
|