Add hydra

This commit is contained in:
Tristan Daniël Maat 2021-05-13 21:12:11 +01:00
parent 2ccaadd557
commit 3ec2db6a36
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 20 additions and 7 deletions

View file

@ -2,10 +2,11 @@
{ {
imports = [ imports = [
./services/gitea.nix # ./services/gitea.nix
./services/minecraft.nix ./services/hydra.nix
./services/nextcloud.nix # ./services/minecraft.nix
./services/webserver.nix # ./services/nextcloud.nix
# ./services/webserver.nix
./ids.nix ./ids.nix
]; ];
@ -63,9 +64,10 @@
locations."/" = { proxyPass = "http://localhost:${toString port}"; }; locations."/" = { proxyPass = "http://localhost:${toString port}"; };
} // extra; } // extra;
in { in {
"tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; }; # "tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; };
"gitea.tlater.net" = host 3000 { }; # "gitea.tlater.net" = host 3000 { };
"nextcloud.tlater.net" = host 3001 { }; # "nextcloud.tlater.net" = host 3001 { };
"hydra.tlater.net" = host 3003 { };
}; };
}; };

View file

@ -0,0 +1,11 @@
{ ... }:
{
services.hydra = {
enable = true;
port = 3003;
hydraURL = "hydra.tlater.net";
notificationSender = "hydra@tlater.net";
};
}