nix/modules/podman.nix
2026-02-18 23:04:21 +01:00

19 lines
384 B
Nix

{ pkgs, ... }:
{
config = {
boot.kernel.sysctl."net.ipv4.conf.all.forwarding" = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
extraPackages = [ pkgs.netavark pkgs.aardvark-dns ];
};
oci-containers = {
backend = "podman";
};
};
};
}