Add new file

This commit is contained in:
Aaron Honeycutt 2025-05-16 07:34:03 -06:00
parent 7d8d343b8c
commit 9388741ab4

22
homelab/hydra/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ 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;
}
];
}