From d65e7d9e57b8fb39b5753add94107932f9dbae9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chlo=C3=A9=20Kassandra=20Rei=C3=9F?= Date: Mon, 2 Mar 2026 04:43:38 +0100 Subject: [PATCH] Configure podman as service --- configuration.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 9c93b84..a958436 100755 --- a/configuration.nix +++ b/configuration.nix @@ -48,6 +48,20 @@ in variant = ""; }; + # Podman service setup + virtualisation.containers.enable = true; + virtualisation = { + podman = { + enable = true; + + # Create a `docker` alias for podman, to use it as a drop-in replacement + dockerCompat = true; + + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.settings.dns_enabled = true; + }; + }; + # Configure console keymap console.keyMap = "de-latin1"; @@ -56,7 +70,7 @@ in networkmanager epiphany nodejs_24 - podman + dive podman-tui podman-compose ];