27 lines
607 B
Nix
27 lines
607 B
Nix
|
{...}: {
|
||
|
programs.ssh.extraConfig = ''
|
||
|
Host eu.nixbuild.net
|
||
|
PubkeyAcceptedKeyTypes ssh-ed25519
|
||
|
IdentityFile /etc/nixos/keys/nixbuild.key
|
||
|
'';
|
||
|
|
||
|
programs.ssh.knownHosts = {
|
||
|
nixbuild = {
|
||
|
hostNames = ["eu.nixbuild.net"];
|
||
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nix = {
|
||
|
distributedBuilds = true;
|
||
|
buildMachines = [
|
||
|
{
|
||
|
hostName = "eu.nixbuild.net";
|
||
|
system = "x86_64-linux";
|
||
|
maxJobs = 100;
|
||
|
supportedFeatures = ["benchmark" "big-parallel"];
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|