Right now it looks like the time to copy data between local and whitby essentially eliminates any benefit to using it as a remote builder. Which is a shame, but ah well. Change-Id: I71dc4782992a28b196e262d40acc1bbc0b883529 Reviewed-on: https://cl.tvl.fyi/c/depot/+/898 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI
15 lines
442 B
Nix
15 lines
442 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
nix = {
|
|
binaryCaches = ["ssh://nix-ssh@whitby.tvl.fyi"];
|
|
binaryCachePublicKeys = ["cache.tvl.fyi:fd+9d1ceCPvDX/xVhcfv8nAa6njEhAGAEe+oGJDEeoc="];
|
|
};
|
|
|
|
programs.ssh.knownHosts.whitby = {
|
|
hostNames = [ "whitby" "whitby.tvl.fyi" "49.12.129.211"];
|
|
publicKeyFile = pkgs.writeText "whitby.pub" ''
|
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/w4BSKov0jdz3gKBc98tpoLta5bb87fQXWBhAl2I
|
|
'';
|
|
};
|
|
}
|