2017-09-29 19:30:28 +00:00
|
|
|
{ pkgs, ...}:
|
|
|
|
let
|
|
|
|
sshKey = (toString <secrets>) + "/id_nixBuild";
|
|
|
|
in {
|
|
|
|
nix.distributedBuilds = true;
|
|
|
|
# TODO: iterate over krebs.hosts
|
|
|
|
nix.buildMachines = map ( hostName:
|
|
|
|
{ inherit hostName sshKey;
|
|
|
|
sshUser = "nixBuild";
|
|
|
|
system = "x86_64-linux";
|
2017-12-18 20:29:13 +00:00
|
|
|
maxJobs = 8;
|
|
|
|
}) [ "hotdog.r" ];
|
|
|
|
# puyak.r "wbob.r" "omo.r" "gum.r" "latte.r"
|
2017-09-29 19:30:28 +00:00
|
|
|
}
|