ark/modules/develop/nixbuild/default.nix

27 lines
625 B
Nix
Raw Normal View History

2023-05-09 02:58:14 +03:00
{config, ...}: {
2022-05-03 21:12:47 +03:00
programs.ssh.extraConfig = ''
Host eu.nixbuild.net
PubkeyAcceptedKeyTypes ssh-ed25519
2023-05-09 02:58:14 +03:00
IdentityFile ${config.age.secrets.nixBuildKey.path}
2022-05-03 21:12:47 +03:00
'';
programs.ssh.knownHosts = {
nixbuild = {
hostNames = ["eu.nixbuild.net"];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM";
};
};
2022-09-17 17:50:16 +03:00
nix = {
distributedBuilds = true;
buildMachines = [
{
hostName = "eu.nixbuild.net";
system = "x86_64-linux";
maxJobs = 100;
supportedFeatures = ["benchmark" "big-parallel"];
}
];
};
2022-05-03 21:12:47 +03:00
}