Commit 7d246a28 authored by Bruno BELANYI's avatar Bruno BELANYI
Browse files

nixos/woodpecker-agents: fix typos in doc

The name of the backend is `local`, not `exec`.

`environmentFile` is supposed to be a list.
parent f7151209
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";