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:
Bruno BELANYI 2023-08-18 13:32:59 +00:00
parent f7151209c4
commit 7d246a2873

View file

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