nix-configs/homelab/hydra/default.nix
Aaron Honeycutt de53a26819 format nix
2025-09-18 17:24:56 -06:00

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;
}
];
}