AquaticOS/modules/services/podman.nix

20 lines
No EOL
376 B
Nix

{ ... }:
{
flake.modules.nixos.podman =
{ ... }:
{
virtualisation.podman = {
enable = true;
autoPrune.enable = true;
dockerCompat = true;
networkSocket.openFirewall = true;
};
networking.firewall = {
allowedUDPPorts = [ 53 ];
checkReversePath = "loose";
};
virtualisation.oci-containers.backend = "podman";
};
}