about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-14T19·38-0400
committerglittershark <grfn@gws.fyi>2020-07-14T19·42+0000
commit0485515a06d93cba284c8653bd4142453919dc47 (patch)
treeaeaddf7a011f53313f622b81c84d9b9b32160e3f /users
parent2abccc22ac9ba1afd44f6c282359a8196fdf41ab (diff)
feat(gs/system): configure whitby as a remote builder r/1295
big cores wow

Change-Id: I0fa14834365202f1c9a8ff69243f129c8acfe13d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1168
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/glittershark/system/system/modules/tvl.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/users/glittershark/system/system/modules/tvl.nix b/users/glittershark/system/system/modules/tvl.nix
index 5291532338af..69a02dbbb33f 100644
--- a/users/glittershark/system/system/modules/tvl.nix
+++ b/users/glittershark/system/system/modules/tvl.nix
@@ -2,6 +2,19 @@
 
 {
   nix = {
+    buildMachines = [{
+      hostName = "whitby.tvl.fyi";
+      sshUser = "grfn";
+      sshKey = "/root/.ssh/id_rsa";
+      system = "x86_64-linux";
+      maxJobs = 64;
+      supportedFeatures = ["big-parallel" "kvm" "nixos-test" "benchmark"];
+    }];
+
+    extraOptions = ''
+      builders-use-substitutes = true
+    '';
+
     binaryCaches = [
       "ssh://nix-ssh@whitby.tvl.fyi"
       "https://cache.nixos.org"