mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-18 14:02:32 -06:00
22 lines
505 B
Nix
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;
|
|
}
|
|
];
|
|
}
|