minor code cleaning

This commit is contained in:
Luj 2024-03-30 20:58:04 +01:00
parent fe8bd69ebe
commit 44b3f14d48
Signed by: luj
GPG key ID: 6FC74C847011FD83
9 changed files with 32 additions and 74 deletions

View file

@ -18,9 +18,9 @@ in
mkMerge [{
services.hydra = {
inherit port;
enable = true;
notificationSender = "hydra@localhost";
inherit port;
buildMachinesFiles = [ ];
useSubstitutes = true;
};
@ -28,9 +28,11 @@ in
networking.firewall = { allowedTCPPorts = [ port ]; };
}
(mkIf cfg.nginx.enable (recursiveUpdate {
services.hydra.hydraURL = "${cfg.nginx.subdomain}.julienmalka.me";
} (mkSubdomain cfg.nginx.subdomain port)) )]);
(mkIf cfg.nginx.enable (recursiveUpdate
{
services.hydra.hydraURL = "${cfg.nginx.subdomain}.julienmalka.me";
}
(mkSubdomain cfg.nginx.subdomain port)))]);