hydra: wip init
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Christoph Hollizeck 2024-12-30 09:38:57 +01:00
parent daa9b33754
commit 05f31223ea
3 changed files with 18 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;