nixcfg/modules/homelab/virtualization.nix

16 lines
340 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
programs.virt-manager.enable = true;
virtualisation = {
libvirtd.enable = true;
2024-03-24 19:44:09 -04:00
oci-containers = { backend = "podman"; };
podman = {
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
enable = true;
};
};
2024-03-24 19:44:09 -04:00
}