From f7151209c413d0ba51d2986e9e942eb37610b06c Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 19 Aug 2023 16:27:05 +0100 Subject: [PATCH] nixos/woodpecker-agents: fix 'podman' example The name should match the fact that we're using `podman` instead of `docker`. And the group was wrong. --- .../services/continuous-integration/woodpecker/agents.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/continuous-integration/woodpecker/agents.nix b/nixos/modules/services/continuous-integration/woodpecker/agents.nix index cc5b903afd59..fb86e854d294 100644 --- a/nixos/modules/services/continuous-integration/woodpecker/agents.nix +++ b/nixos/modules/services/continuous-integration/woodpecker/agents.nix @@ -107,14 +107,14 @@ in default = { }; type = lib.types.attrsOf agentModule; example = { - docker = { + podman = { environment = { WOODPECKER_SERVER = "localhost:9000"; WOODPECKER_BACKEND = "docker"; DOCKER_HOST = "unix:///run/podman/podman.sock"; }; - extraGroups = [ "docker" ]; + extraGroups = [ "podman" ]; environmentFile = "/run/secrets/woodpecker/agent-secret.txt"; };