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 <grfn@gws.fyi>
Reviewed-by: BuildkiteCI
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2020-07-02 20:03:14 -04:00 committed by glittershark
parent 6cabc4289c
commit 0ef2696564

View file

@ -1,7 +1,8 @@
{ config, lib, pkgs, ... }:
{
nix.buildMachines = [{
nix = {
buildMachines = [{
hostName = "whitby.tvl.fyi";
sshUser = "grfn";
sshKey = "/root/.ssh/id_rsa.whitby";
@ -10,6 +11,9 @@
supportedFeatures = ["big-parallel"];
}];
binaryCaches = ["ssh://grfn@whitby.tvl.fyi"];
};
programs.ssh.knownHosts.whitby = {
hostNames = [ "whitby" "whitby.tvl.fyi" "49.12.129.211"];
publicKeyFile = pkgs.writeText "whitby.pub" ''