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
1 changed files with 10 additions and 13 deletions

View File

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