ark/modules/develop/nixbuild/default.nix

27 lines
607 B
Nix
Raw Normal View History

2022-05-03 21:12:47 +03:00
{...}: {
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";
};
};
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
}