refactor(ops): Move buildkite-agent-token into agenix

Relates to b/161

Change-Id: I5d3a698d437928966d8b78ce9e0ba226c1437655
This commit is contained in:
Vincent Ambo 2021-12-10 10:29:41 +03:00
parent a123b9e0a2
commit 9ea4d55d81
4 changed files with 18 additions and 1 deletions

View file

@ -33,7 +33,7 @@ in {
value = {
inherit name;
enable = true;
tokenPath = "/etc/secrets/buildkite-agent-token";
tokenPath = "/run/agenix/buildkite-agent-token";
runtimePackages = with pkgs; [ curl jq ];
hooks.post-command = "${buildkiteHooks}/bin/post-command";
};