25 lines
514 B
Nix
25 lines
514 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
services.hydra = {
|
|
enable = true;
|
|
hydraURL = "localhost:3000";
|
|
buildMachinesFiles = ["/etc/nix/machines"];
|
|
notificationSender = "hydra@localhost";
|
|
useSubstitutes = true;
|
|
};
|
|
|
|
nix.buildMachines = [
|
|
{
|
|
hostName = "localhost";
|
|
protocol = null;
|
|
# system = "x86_64-linux";
|
|
systems = ["x86_64-linux" "aarch64-linux"];
|
|
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
|
maxJobs = 8;
|
|
}
|
|
];
|
|
}
|