Improve sif -> thor dist build ssh config

This commit is contained in:
Riley Apeldoorn 2022-05-28 19:00:50 +02:00
parent 0a946e4b70
commit 3bdb545681

View file

@ -59,27 +59,24 @@
nix = { nix = {
distributedBuilds = true; distributedBuilds = true;
buildMachines = [{ buildMachines = [{
hostName = "thor";
systems = [ hostName = "thor";
"x86_64-linux" sshUser = "riley";
sshKey = "/root/.ssh/id_ed25519";
systems = [
"x86_64-linux"
"aarch64-linux" "aarch64-linux"
]; ];
supportedFeatures = [ supportedFeatures = [
"nixos-test" "nixos-test"
"benchmark" "benchmark"
"big-parallel" "big-parallel"
"kvm" "kvm"
]; ];
}]; }];
}; };
programs.ssh.extraConfig = ''
Host thor
HostName thor
Port 22
User riley
IdentitiesOnly yes
IdentityFile /root/.ssh/id_ed25519
'';
} }