1
1
Fork 0

Add hydra server

Bill Ewanick 2024-01-14 01:00:17 -05:00
parent d4735ff7c3
commit 50ce0eb605
2 changed files with 27 additions and 1 deletions

View File

@ -9,7 +9,8 @@
./git.ewanick.com.nix
./paperless.ewanick.com.nix
./fancytypist.com.nix
# ./fancytypist.com.nix
./hydra.fancyTypist.com.nix
];
# when in doubt, clear away the certs with

View File

@ -0,0 +1,25 @@
let
baseUrl = "hydra.fancyTypist.com";
HOST = "localhost";
PORT = "5567";
in
{
services.hydra = {
enable = true;
hydraURL = "http://${HOST}:${PORT}";
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
useSubstitutes = true;
};
services.caddy = {
enable = true;
virtualHosts = {
"${baseUrl}" = {
extraConfig = ''
reverse_proxy ${HOST}:${PORT}
'';
};
};
};
}