2024-05-11 16:02:39 +02:00
|
|
|
{ ... }: {
|
|
|
|
nix.buildMachines = [
|
|
|
|
{
|
|
|
|
hostName = "localhost";
|
2024-05-11 17:46:14 +02:00
|
|
|
sshUser = "hydra-queue-runner";
|
2024-05-11 16:02:39 +02:00
|
|
|
maxJobs = 40;
|
|
|
|
speedFactor = 40;
|
|
|
|
systems = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
2024-05-11 16:27:31 +02:00
|
|
|
sshKey = "/var/lib/hydra/id_ed25519";
|
2024-05-11 16:02:39 +02:00
|
|
|
}
|
|
|
|
{
|
|
|
|
hostName = "integra.kyouma.net";
|
|
|
|
sshUser = "build";
|
|
|
|
maxJobs = 4;
|
|
|
|
speedFactor = 8;
|
|
|
|
systems = [ "aarch64-linux" "aarch64-darwin" ];
|
|
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
|
|
sshKey = "/var/lib/hydra/id_ed25519";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
nix.settings = {
|
|
|
|
allowed-uris = [
|
|
|
|
"github:"
|
|
|
|
"git+https://"
|
|
|
|
"git+ssh://"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
programs.ssh = {
|
|
|
|
knownHosts."integra.kyouma.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIBwEQiSfaDrUAwgul4mktusBPcIVxI4pLNDh9DPopVU";
|
|
|
|
};
|
|
|
|
}
|