mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
minor code cleaning
This commit is contained in:
parent
fe8bd69ebe
commit
44b3f14d48
9 changed files with 32 additions and 74 deletions
|
@ -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)))]);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue