15 lines
347 B
Nix
15 lines
347 B
Nix
{ 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";
|
|
maxJobs = 1;
|
|
}) [ "omo.r" "gum.r" "latte.r" ];
|
|
# puyak.r "wbob.r"
|
|
}
|