nixfiles/config/profiles/remote-build.nix
2024-04-05 16:25:59 +02:00

16 lines
486 B
Nix

{config, lib, pkgs, ... }: {
nix.buildMachines = [{
hostName = "seras.kyouma.net";
sshUser = "build";
maxJobs = 40;
speedFactor = 5;
systems = [ "aarch64-linux" "x86_64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}];
nix.distributedBuilds = true;
programs.ssh = {
knownHosts = {
"seras.kyouma.net".publicKey = "sh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPNVavo3YHVsrYwXRVISu7kDoknn+5inFGySn4azlB8P";
};
};
}