nixos/woodpecker-agents: fix typos in doc
The name of the backend is `local`, not `exec`. `environmentFile` is supposed to be a list.
This commit is contained in:
parent
f7151209c4
commit
7d246a2873
|
@ -116,16 +116,16 @@ in
|
|||
|
||||
extraGroups = [ "podman" ];
|
||||
|
||||
environmentFile = "/run/secrets/woodpecker/agent-secret.txt";
|
||||
environmentFile = [ "/run/secrets/woodpecker/agent-secret.txt" ];
|
||||
};
|
||||
|
||||
exec = {
|
||||
environment = {
|
||||
WOODPECKER_SERVER = "localhost:9000";
|
||||
WOODPECKER_BACKEND = "exec";
|
||||
WOODPECKER_BACKEND = "local";
|
||||
};
|
||||
|
||||
environmentFile = "/run/secrets/woodpecker/agent-secret.txt";
|
||||
environmentFile = [ "/run/secrets/woodpecker/agent-secret.txt" ];
|
||||
};
|
||||
};
|
||||
description = lib.mdDoc "woodpecker-agents configurations";
|
||||
|
|
Loading…
Reference in a new issue