nuc: remove hydra file

This commit is contained in:
Rouven Seifert 2024-03-13 16:22:25 +01:00
parent 02eef8f563
commit f23177f96d
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -1,22 +0,0 @@
{ config, ... }:
let
domain = "hydra.${config.networking.domain}";
in
{
services.hydra = {
enable = true;
port = 4000;
hydraURL = domain;
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
useSubstitutes = true;
};
services.nginx.virtualHosts."${domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.hydra.port}";
};
};
}