os/hosts/norman/builder.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
678 B
Nix
Raw Normal View History

2023-02-25 13:45:21 +00:00
{self, ...}: {
programs.ssh.extraConfig = ''
Host builder
Hostname data.gssws.de
Port 2222
User builder
IdentitiesOnly yes
IdentityFile /root/.ssh/id_ed25519-builder
'';
nix.buildMachines = [
{
hostName = "builder";
2023-03-07 15:48:46 +00:00
systems = ["x86_64-linux" "aarch64-linux" "i686-linux"];
2023-04-15 14:37:55 +00:00
maxJobs = 40;
speedFactor = 20;
2023-02-25 13:45:21 +00:00
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
}
];
nix.distributedBuilds = true;
nix.settings = {
trusted-public-keys = ["chonk:1b/yLBRW2ZeL9jErW1ogMRUTq/hidJnZOxopx363JSo="];
builders-use-substitutes = true;
};
}