Change-Id: I6c6847fac56f0a9a1a2209792e00a3aec5e672b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10809 Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
35 lines
832 B
Nix
35 lines
832 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
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
|
|
'';
|
|
|
|
settings = {
|
|
substituters = [
|
|
"https://cache.nixos.org"
|
|
];
|
|
trusted-substituters = [
|
|
"https://cache.nixos.org"
|
|
"ssh://nix-ssh@whitby.tvl.fyi"
|
|
];
|
|
};
|
|
};
|
|
|
|
programs.ssh.knownHosts.whitby = {
|
|
extraHostNames = [ "whitby" "whitby.tvl.fyi" "49.12.129.211" ];
|
|
publicKeyFile = pkgs.writeText "whitby.pub" ''
|
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/w4BSKov0jdz3gKBc98tpoLta5bb87fQXWBhAl2I
|
|
'';
|
|
};
|
|
}
|