From e564497622817b91b8c09ac7ce0d9b3e991b5ec0 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Wed, 19 Jan 2022 11:15:35 -0500 Subject: [PATCH] Switch containers to podman --- modules/containers.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/containers.nix b/modules/containers.nix index db20045..5474d1a 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -1,5 +1,12 @@ +{ pkgs, ... }: { - # Enable Docker - # TODO: podman - virtualisation.docker.enable = true; + # Enable Podman w/ docker compose compatibility + virtualisation.podman = { + enable = true; + dockerCompat = true; + }; + + environment.systemPackages = with pkgs; [ + docker-compose + ]; } \ No newline at end of file