WIP: Add hydra
This commit is contained in:
parent
4c94932490
commit
a40cab2642
3 changed files with 31 additions and 1 deletions
configuration
|
@ -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 { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
16
configuration/services/hydra.nix
Normal file
16
configuration/services/hydra.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
port = 3003;
|
||||
|
||||
hydraURL = "hydra.tlater.net";
|
||||
notificationSender = "hydra@tlater.net";
|
||||
extraConfig = ''
|
||||
<gitea_authorization>
|
||||
|
||||
</gitea_authorization>
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue