diff options
author | Bruno BELANYI <bruno@belanyi.fr> | 2023-08-18 13:32:59 +0000 |
---|---|---|
committer | Bruno BELANYI <bruno@belanyi.fr> | 2023-08-19 16:28:31 +0100 |
commit | 7d246a2873ea045ce7b2381f72a76f701f5abbd9 (patch) | |
tree | b398f509470e612bb59cc97013d3f8937e7372a1 /nixos/modules/services/continuous-integration | |
parent | f7151209c413d0ba51d2986e9e942eb37610b06c (diff) |
nixos/woodpecker-agents: fix typos in doc
The name of the backend is `local`, not `exec`. `environmentFile` is supposed to be a list.
Diffstat (limited to 'nixos/modules/services/continuous-integration')
-rw-r--r-- | nixos/modules/services/continuous-integration/woodpecker/agents.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/continuous-integration/woodpecker/agents.nix b/nixos/modules/services/continuous-integration/woodpecker/agents.nix index fb86e854d2948..62719ee934afa 100644 --- a/nixos/modules/services/continuous-integration/woodpecker/agents.nix +++ b/nixos/modules/services/continuous-integration/woodpecker/agents.nix @@ -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"; |