From 0ef26965647a2db19838470e1510d1a31838142a Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 2 Jul 2020 20:03:14 -0400 Subject: feat(gs/system): Add whitby as a binary cache This appears to be working! which is nice. Change-Id: I06f8d2ff4e9b313073cb76c77a8a9bed0cb52516 Reviewed-on: https://cl.tvl.fyi/c/depot/+/887 Reviewed-by: glittershark Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI --- users/glittershark/system/system/modules/tvl.nix | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/users/glittershark/system/system/modules/tvl.nix b/users/glittershark/system/system/modules/tvl.nix index 5fb044b901..36ecd4ccdd 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"]; -- cgit 1.4.1