Add hydra
This commit is contained in:
parent
2ccaadd557
commit
3ec2db6a36
|
@ -2,10 +2,11 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./services/gitea.nix
|
||||
./services/minecraft.nix
|
||||
./services/nextcloud.nix
|
||||
./services/webserver.nix
|
||||
# ./services/gitea.nix
|
||||
./services/hydra.nix
|
||||
# ./services/minecraft.nix
|
||||
# ./services/nextcloud.nix
|
||||
# ./services/webserver.nix
|
||||
./ids.nix
|
||||
];
|
||||
|
||||
|
@ -63,9 +64,10 @@
|
|||
locations."/" = { proxyPass = "http://localhost:${toString port}"; };
|
||||
} // extra;
|
||||
in {
|
||||
"tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; };
|
||||
"gitea.tlater.net" = host 3000 { };
|
||||
"nextcloud.tlater.net" = host 3001 { };
|
||||
# "tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; };
|
||||
# "gitea.tlater.net" = host 3000 { };
|
||||
# "nextcloud.tlater.net" = host 3001 { };
|
||||
"hydra.tlater.net" = host 3003 { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
11
configuration/services/hydra.nix
Normal file
11
configuration/services/hydra.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
port = 3003;
|
||||
|
||||
hydraURL = "hydra.tlater.net";
|
||||
notificationSender = "hydra@tlater.net";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue