about summary refs log tree commit diff
path: root/users/tazjin/nixos
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-27T15·39+0100
committertazjin <mail@tazj.in>2020-06-27T16·31+0000
commit7f703913edd6ca53703a8b3b2fba79ab09890683 (patch)
treed8f028d27c6b0fc3f1d63029073b75a74b10d33f /users/tazjin/nixos
parent17eba437a77d2de549533c8b27d6f815f4059d1b (diff)
feat(tazjin/frog): Enable Buildkite agent r/1098
While we get our actual CI system up-and-running (i.e. while we're
waiting for Hetzner to provision a machine), Frog can serve as a build
host (whenever it's online, anyways).

Change-Id: I917a8dbe92c499c607ead179a58bc59c105abd3d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/626
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/nixos')
-rw-r--r--users/tazjin/nixos/frog/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix
index 991abcbec4b1..f3e75a2420ec 100644
--- a/users/tazjin/nixos/frog/default.nix
+++ b/users/tazjin/nixos/frog/default.nix
@@ -194,6 +194,12 @@ in depot.lib.fix(self: {
     };
   };
 
+  # Run a Buildkite agent for depot builds
+  services.buildkite-agents.frog = {
+    enable = true;
+    tokenPath = "/etc/secrets/buildkite-token";
+  };
+
   environment.systemPackages =
     # programs from the depot
     (with depot; [