From 7d246a2873ea045ce7b2381f72a76f701f5abbd9 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 18 Aug 2023 13:32:59 +0000 Subject: [PATCH] nixos/woodpecker-agents: fix typos in doc The name of the backend is `local`, not `exec`. `environmentFile` is supposed to be a list. --- .../services/continuous-integration/woodpecker/agents.nix | 6 +++--- 1 file 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 fb86e854d294..62719ee934af 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";