Created Hydra module

This commit is contained in:
Julien Malka 2021-12-21 00:44:23 +01:00
parent 59d599b65f
commit 835a05dd64
2 changed files with 52 additions and 19 deletions

View file

@ -14,25 +14,11 @@ in
luj = {
filerun.enable = true;
zfs-mails.enable = true;
};
services.hydra = {
enable = true;
hydraURL = "https://hydra.julienmalka.me";
notificationSender = "hydra@localhost";
port = 9876;
buildMachinesFiles = [ ];
useSubstitutes = true;
};
services.nginx = {
enable = true;
virtualHosts = {
"hydra.julienmalka.me" = {
forceSSL = true;
enableACME = true;
locations."/" = { proxyPass = "http://127.0.0.1:9876"; };
hydra = {
enable = true;
nginx = {
enable = true;
subdomain = "hydra";
};
};
};