27 lines
625 B
Nix
27 lines
625 B
Nix
{config, ...}: {
|
|
programs.ssh.extraConfig = ''
|
|
Host eu.nixbuild.net
|
|
PubkeyAcceptedKeyTypes ssh-ed25519
|
|
IdentityFile ${config.age.secrets.nixBuildKey.path}
|
|
'';
|
|
|
|
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"];
|
|
}
|
|
];
|
|
};
|
|
}
|