mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-18 14:02:32 -06:00
Add new file
This commit is contained in:
parent
7d8d343b8c
commit
9388741ab4
1 changed files with 22 additions and 0 deletions
22
homelab/hydra/default.nix
Normal file
22
homelab/hydra/default.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue