From f3dd272a822bcbac804a38e5eb8504e9f5c6bf37 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 27 Jan 2024 20:59:57 +0000 Subject: [PATCH] client: automatically install podman-compose if podman is installed --- ops/nixos/lib/client.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ops/nixos/lib/client.nix b/ops/nixos/lib/client.nix index 26dd11507c..885aa6dd9e 100644 --- a/ops/nixos/lib/client.nix +++ b/ops/nixos/lib/client.nix @@ -17,5 +17,9 @@ in # Enable mDNS resolver/responder by default unless otherwise configured. connection.mdns=2 ''; + + environment.systemPackages = with pkgs; lib.mkMerge [ + (lib.mkIf config.virtualisation.podman.enable [ podman-compose ]) + ]; }; }