WIP: Add hydra

This commit is contained in:
Tristan Daniël Maat 2021-05-13 21:12:11 +01:00 committed by Tristan Daniël Maat
parent 4c94932490
commit a40cab2642
Signed by: tlater
GPG key ID: 49670FD774E43268
3 changed files with 31 additions and 1 deletions
configuration

View file

@ -3,6 +3,7 @@
{
imports = [
./services/gitea.nix
./services/hydra.nix
./services/minecraft.nix
./services/nextcloud.nix
./services/webserver.nix
@ -68,6 +69,7 @@
"${domain}" = host 3002 { serverAliases = [ "www.${domain}" ]; };
"gitea.${domain}" = host 3000 { };
"nextcloud.${domain}" = host 3001 { };
"hydra.${domain}" = host config.services.hydra.port { };
};
};

View file

@ -0,0 +1,16 @@
{ ... }:
{
services.hydra = {
enable = true;
port = 3003;
hydraURL = "hydra.tlater.net";
notificationSender = "hydra@tlater.net";
extraConfig = ''
<gitea_authorization>
</gitea_authorization>
'';
};
}