{ config, lib, pkgs, ... }: let cfg = config.nomarchy.system.containers; in { config = lib.mkIf cfg.enable { virtualisation.podman = { enable = true; # `docker` and `docker-compose` invocations transparently route to # podman. Pairs cleanly with rootless mode. dockerCompat = true; defaultNetwork.settings.dns_enabled = true; }; environment.systemPackages = with pkgs; [ podman podman-compose podman-tui dive ]; }; }