From 7f9a4ee0062614728b7bba99b9ba67dc6c63dea8 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Wed, 19 Jan 2022 13:38:32 -0500 Subject: [PATCH] Update podman config --- machines/work/configuration.nix | 2 +- modules/containers.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/machines/work/configuration.nix b/machines/work/configuration.nix index cadde05..dae2962 100644 --- a/machines/work/configuration.nix +++ b/machines/work/configuration.nix @@ -34,7 +34,7 @@ in users.users.${defaultUser} = { isNormalUser = true; - extraGroups = [ "wheel" "docker" ]; + extraGroups = [ "wheel" "docker" "podman" ]; shell = pkgs.zsh; }; diff --git a/modules/containers.nix b/modules/containers.nix index 5474d1a..9cb3218 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -3,10 +3,12 @@ # Enable Podman w/ docker compose compatibility virtualisation.podman = { enable = true; - dockerCompat = true; + dockerSocket.enable = true; + defaultNetwork.dnsname.enable = true; }; environment.systemPackages = with pkgs; [ + docker-client docker-compose ]; } \ No newline at end of file