Files
nix-dotfiles-v2/modules/podman.nix
2025-08-25 09:24:08 +02:00

29 lines
602 B
Nix

{
config,
pkgs,
lib,
...
}:
{
virtualisation = {
containers.enable = true;
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true; # Required for containers under podman-compose to be able to talk to each other.
};
};
virtualisation.oci-containers.backend = lib.mkDefault "podman";
# Useful other development tools
environment.systemPackages = with pkgs; [
dive # look into docker image layers
podman-tui # status of containers in the terminal
podman-compose # start group of containers for dev
];
}