nixfiles/config/profiles/remote-build.nix

28 lines
848 B
Nix
Raw Normal View History

2024-04-03 10:38:55 +02:00
{config, lib, pkgs, ... }: {
2024-04-30 21:55:41 +02:00
nix.buildMachines = [
{
hostName = "seras.kyouma.net";
sshUser = "build";
maxJobs = 40;
speedFactor = 40;
systems = [ "x86_64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}
{
hostName = "integra.kyouma.net";
sshUser = "build";
maxJobs = 4;
speedFactor = 8;
systems = [ "aarch64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}
];
2024-04-03 10:38:55 +02:00
nix.distributedBuilds = true;
2024-04-05 16:25:59 +02:00
programs.ssh = {
knownHosts = {
"seras.kyouma.net".publicKey = "sh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPNVavo3YHVsrYwXRVISu7kDoknn+5inFGySn4azlB8P";
2024-04-30 21:55:41 +02:00
"integra.kyouma.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIBwEQiSfaDrUAwgul4mktusBPcIVxI4pLNDh9DPopVU";
2024-04-05 16:25:59 +02:00
};
};
2024-04-03 10:38:55 +02:00
}