raito
211ef9c15b
for multiple roles such as storage or builders. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
24 lines
551 B
Nix
24 lines
551 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 9 builders (0 → 8).
|
|
hydra.builders = lib.genList (i: "builder-${builtins.toString i}") 9;
|
|
};
|
|
|
|
bagel.monitoring.exporters.hydra.enable = true;
|
|
|
|
# Hydra is proxied.
|
|
bagel.raito.v6-proxy-awareness.enable = true;
|
|
|
|
system.stateVersion = "24.05";
|
|
deployment.targetHost = "build-coord.wob01.infra.forkos.org";
|
|
}
|