Improve sif -> thor dist build ssh config
This commit is contained in:
parent
0a946e4b70
commit
3bdb545681
1 changed files with 10 additions and 13 deletions
|
@ -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
|
|
||||||
'';
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue