Skip to content

Commit

Permalink
chore: add buildkite environment on icarus (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnae authored Nov 24, 2024
1 parent b280bfb commit 707069b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hosts/x86_64-linux/icarus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
nixos = "true";
queue = "default-queue";
};
hooks = {
environment = ''
CACHIX_SIGNING_KEY="$(head -1 ${config.age.secrets.cachix-signing-key.path})"
'';
};
};

services.tailscale.auth = {
Expand Down Expand Up @@ -285,6 +290,10 @@
file = ../../secrets/buildkite-ssh-key.age;
owner = "buildkite-agent-nix-build";
};
cachix-signing-key = {
file = ../../secrets/cachix-signing-key.age;
owner = "buildkite-agent-nix-build";
};
};

security.acme.certs = {
Expand Down
Binary file added secrets/cachix-signing-key.age
Binary file not shown.

0 comments on commit 707069b

Please sign in to comment.