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-18 13:32:59 +0000
committerBruno BELANYI <bruno@belanyi.fr>2023-08-19 16:28:31 +0100
commit7d246a2873ea045ce7b2381f72a76f701f5abbd9 (patch)
treeb398f509470e612bb59cc97013d3f8937e7372a1 /nixos/modules/services/continuous-integration
parentf7151209c413d0ba51d2986e9e942eb37610b06c (diff)
downloadnixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.tar
nixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.tar.gz
nixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.tar.bz2
nixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.tar.lz
nixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.tar.xz
nixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.tar.zst
nixpkgs-7d246a2873ea045ce7b2381f72a76f701f5abbd9.zip
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.nix6
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 fb86e854d29..62719ee934a 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";