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.
This commit is contained in:
Bruno BELANYI 2023-08-19 16:27:05 +01:00
parent 43dd990c78
commit f7151209c4

View file

@ -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";
};