hydra: wip init

This commit is contained in:
Christoph Hollizeck 2024-12-30 09:38:57 +01:00
parent 86cdf11d2f
commit fe9d55f504
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 17 additions and 10 deletions

View file

@ -82,6 +82,15 @@ in
return = "404";
};
};
"_" = {
forceSSL = cfg.enableAcme;
useACMEHost = mkIf cfg.enableAcme domainName;
locations."/" = {
return = "404";
};
};
};
};
@ -133,8 +142,8 @@ in
services.hydra = {
enable = true;
hydraURL = "http://localhost:2000";
port = 2000;
hydraURL = "http://localhost:${toString hydraPort}";
port = hydraPort;
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
useSubstitutes = true;