forked from emily/nixfiles
33 lines
880 B
Nix
33 lines
880 B
Nix
{ ... }: {
|
|
nix.buildMachines = [
|
|
{
|
|
hostName = "localhost";
|
|
sshUser = "hydra-queue-runner";
|
|
maxJobs = 40;
|
|
speedFactor = 40;
|
|
systems = [ "x86_64-linux" ];
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
sshKey = "/var/lib/hydra/id_ed25519";
|
|
}
|
|
{
|
|
hostName = "integra.kyouma.net";
|
|
sshUser = "build";
|
|
maxJobs = 4;
|
|
speedFactor = 8;
|
|
systems = [ "aarch64-linux" ];
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
sshKey = "/var/lib/hydra/id_ed25519";
|
|
}
|
|
];
|
|
nix.settings = {
|
|
allowed-uris = [
|
|
"github:"
|
|
"git+https://"
|
|
"git+ssh://"
|
|
"https://"
|
|
];
|
|
};
|
|
programs.ssh = {
|
|
knownHosts."integra.kyouma.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIBwEQiSfaDrUAwgul4mktusBPcIVxI4pLNDh9DPopVU";
|
|
};
|
|
}
|