blob: 905ec8ced537f8a68f7a9930e36c075249aeba89 (
plain) (
tree)
|
|
{ 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
'';
binaryCaches = [
"https://cache.nixos.org"
"ssh://nix-ssh@whitby.tvl.fyi"
];
trustedBinaryCaches = [
"https://cache.nixos.org"
"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
'';
};
}
|