This commit is contained in:
Andrea Ciceri 2023-05-11 10:41:03 +02:00
parent fcfd36c63b
commit 202611d0b8
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
18 changed files with 174 additions and 63 deletions

View file

@ -2,6 +2,7 @@
config,
lib,
pkgs,
fleetFlake,
...
}: {
nix = {
@ -39,18 +40,29 @@
options = "--delete-older-than 30d";
};
buildMachines = [
{
hostName = "rock5b.fleet";
system = "aarch64-linux";
maxJobs = 6;
speedFactor = 1;
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
# sshKey = "/var/lib/hydra/queue-runner/.ssh/id_rsa";
sshUser = "root";
}
];
# buildMachines = [
# {
# hostName = "rock5b.fleet";
# system = "aarch64-linux";
# maxJobs = 6;
# speedFactor = 1;
# supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
# mandatoryFeatures = [];
# # sshKey = "/var/lib/hydra/queue-runner/.ssh/id_rsa";
# sshUser = "root";
# }
# ];
distributedBuilds = true;
registry = lib.mkForce {
nixpkgs.to = {
type = "path";
path = fleetFlake.inputs.nixpkgsUnstable;
};
n.to = {
type = "path";
path = fleetFlake.inputs.nixpkgsUnstable;
};
};
};
}