2023-06-12 17:18:20 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
2023-01-27 00:08:51 +00:00
|
|
|
{
|
|
|
|
services.openssh.settings.PasswordAuthentication = false;
|
|
|
|
|
|
|
|
sops = {
|
|
|
|
age.keyFile = "/home/asonix/.config/sops/age/keys.txt";
|
|
|
|
age.generateKey = true;
|
2023-06-12 17:18:20 +00:00
|
|
|
|
|
|
|
secrets.builderKey = {
|
|
|
|
format = "binary";
|
|
|
|
sopsFile = ../../secrets/builderKey.bin;
|
|
|
|
};
|
2023-01-27 00:08:51 +00:00
|
|
|
};
|
2023-06-12 17:18:20 +00:00
|
|
|
|
2023-06-22 04:02:34 +00:00
|
|
|
nix.buildMachines = [{
|
|
|
|
hostName = "192.168.5.10";
|
|
|
|
systems = [ "aarch64-linux" "x86_64-linux" ];
|
|
|
|
protocol = "ssh";
|
|
|
|
sshUser = "builder";
|
|
|
|
sshKey = "${config.sops.secrets.builderKey.path}";
|
|
|
|
maxJobs = 12;
|
|
|
|
speedFactor = 2;
|
|
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
|
|
mandatoryFeatures = [ ];
|
|
|
|
}];
|
|
|
|
nix.distributedBuilds = true;
|
|
|
|
|
2023-06-12 17:18:20 +00:00
|
|
|
nix.extraOptions = ''
|
|
|
|
builders-use-substitutes = false
|
|
|
|
'';
|
2023-01-27 00:08:51 +00:00
|
|
|
}
|