nix-configs/homelab/hydra/default.nix
Aaron Honeycutt 9388741ab4 Add new file
2025-05-16 07:34:03 -06:00

22 lines
505 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;
}
];
}