diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-03T00·03-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-03T00·07+0000 |
commit | 0ef26965647a2db19838470e1510d1a31838142a (patch) | |
tree | 273885d138629f5ded44db765a510e5cb8b647bc /users/glittershark | |
parent | 6cabc4289c13776aa61ebcb81f15db830c63ebf7 (diff) |
feat(gs/system): Add whitby as a binary cache r/1182
This appears to be working! which is nice. Change-Id: I06f8d2ff4e9b313073cb76c77a8a9bed0cb52516 Reviewed-on: https://cl.tvl.fyi/c/depot/+/887 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark')
-rw-r--r-- | users/glittershark/system/system/modules/tvl.nix | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/users/glittershark/system/system/modules/tvl.nix b/users/glittershark/system/system/modules/tvl.nix index 5fb044b90140..36ecd4ccdd73 100644 --- a/users/glittershark/system/system/modules/tvl.nix +++ b/users/glittershark/system/system/modules/tvl.nix @@ -1,14 +1,18 @@ { config, lib, pkgs, ... }: { - nix.buildMachines = [{ - hostName = "whitby.tvl.fyi"; - sshUser = "grfn"; - sshKey = "/root/.ssh/id_rsa.whitby"; - system = "x86_64-linux"; - maxJobs = 64; - supportedFeatures = ["big-parallel"]; - }]; + nix = { + buildMachines = [{ + hostName = "whitby.tvl.fyi"; + sshUser = "grfn"; + sshKey = "/root/.ssh/id_rsa.whitby"; + system = "x86_64-linux"; + maxJobs = 64; + supportedFeatures = ["big-parallel"]; + }]; + + binaryCaches = ["ssh://grfn@whitby.tvl.fyi"]; + }; programs.ssh.knownHosts.whitby = { hostNames = [ "whitby" "whitby.tvl.fyi" "49.12.129.211"]; |