forked from the-distro/infra
36 lines
736 B
Nix
Executable file
36 lines
736 B
Nix
Executable file
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
networking.hostName = "buildbot";
|
|
# TODO: make it the default
|
|
networking.domain = "infra.forkos.org";
|
|
|
|
bagel.sysadmin.enable = true;
|
|
# Buildbot is proxied.
|
|
bagel.raito.v6-proxy-awareness.enable = true;
|
|
bagel.hardware.raito-vm = {
|
|
enable = true;
|
|
networking = {
|
|
nat-lan-mac = "BC:24:11:E7:42:8B";
|
|
wan = {
|
|
address = "2001:bc8:38ee:100:1000::50/64";
|
|
mac = "BC:24:11:C9:BA:6C";
|
|
};
|
|
};
|
|
};
|
|
|
|
bagel.services.buildbot = {
|
|
enable = true;
|
|
domain = "buildbot.forkos.org";
|
|
builders = [ "builder-10" ];
|
|
};
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
system.stateVersion = "24.05";
|
|
deployment.targetHost = "buildbot.infra.forkos.org";
|
|
}
|