blob: 489a986f44aaa495ac6cf9988adfddefb618052b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{config, ...}: let
buildDomain = "build.${config.customOps.domain.fqdn}";
in {
sops.secrets = {
"msci/taur/sshkey" = {};
"msci/taur/gpgkey" = {};
"msci/taur/gpgpwd" = {};
};
makeshiftci = {
enable = true;
webUI.enable = true;
};
services.nginx.virtualHosts.${buildDomain} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${builtins.toString config.makeshiftci.webUI.port}";
extraConfig = ''
proxy_buffering off;
'';
};
};
}
|