forked from the-distro/infra
22 lines
502 B
Nix
22 lines
502 B
Nix
{ lib, ... }:
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
networking.hostName = "build-coord";
|
|
networking.domain = "wob01.infra.forkos.org";
|
|
|
|
bagel.sysadmin.enable = true;
|
|
|
|
bagel.services = {
|
|
hydra.enable = true;
|
|
# Takes 10 builders (0 → 9).
|
|
hydra.builders = lib.genList (i: "builder-${builtins.toString i}") 10;
|
|
};
|
|
|
|
# Hydra is proxied.
|
|
bagel.raito.v6-proxy-awareness.enable = true;
|
|
|
|
system.stateVersion = "24.05";
|
|
deployment.targetHost = "build-coord.wob01.infra.forkos.org";
|
|
}
|