about summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration
diff options
context:
space:
mode:
authorBruno BELANYI <bruno@belanyi.fr>2023-08-19 16:27:05 +0100
committerBruno BELANYI <bruno@belanyi.fr>2023-08-19 16:28:31 +0100
commitf7151209c413d0ba51d2986e9e942eb37610b06c (patch)
tree65365787d939286a680b7d81244cc8575421ada6 /nixos/modules/services/continuous-integration
parent43dd990c78528870561394b9c9e1fbd74e149807 (diff)
downloadnixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.tar
nixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.tar.gz
nixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.tar.bz2
nixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.tar.lz
nixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.tar.xz
nixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.tar.zst
nixlib-f7151209c413d0ba51d2986e9e942eb37610b06c.zip
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.
Diffstat (limited to 'nixos/modules/services/continuous-integration')
-rw-r--r--nixos/modules/services/continuous-integration/woodpecker/agents.nix4
1 files 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";
           };