blob: 6ace5017c1bb425271705e3f6bf6b0b6c829aeba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
config,
lib,
...
}:
{
services.buildbot-master = {
enable = true;
home = "/var/lib/buildbot";
title = "KJ's NixOS buildbot";
port = 3214;
listenAddress = "::1";
buildbotUrl = "https://buildbot.kjtsanaktsidis.id.au/";
};
services.nginx = {
virtualHosts."buildbot.kjtsanaktsidis.id.au" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://localhost:${builtins.toString config.services.buildbot-master.port}";
};
};
};
};
}
|