snix/users/aspen/system/system/modules/tvl.nix
Aspen Smith bd953d0703 fix(aspen/system): Fix whitby ssh username
Change-Id: I0686c802b902ed69334221367a2f00be758daec1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11256
Reviewed-by: aspen <root@gws.fyi>
Autosubmit: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
2024-03-24 15:54:13 +00:00

35 lines
833 B
Nix

{ config, lib, pkgs, ... }:
{
nix = {
buildMachines = [{
hostName = "whitby.tvl.fyi";
sshUser = "aspen";
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
'';
};
}