nixfiles/config/profiles/remote-build.nix

17 lines
486 B
Nix
Raw Normal View History

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