Add hydra
This commit is contained in:
parent
2ccaadd557
commit
3ec2db6a36
|
@ -2,10 +2,11 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./services/gitea.nix
|
# ./services/gitea.nix
|
||||||
./services/minecraft.nix
|
./services/hydra.nix
|
||||||
./services/nextcloud.nix
|
# ./services/minecraft.nix
|
||||||
./services/webserver.nix
|
# ./services/nextcloud.nix
|
||||||
|
# ./services/webserver.nix
|
||||||
./ids.nix
|
./ids.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -63,9 +64,10 @@
|
||||||
locations."/" = { proxyPass = "http://localhost:${toString port}"; };
|
locations."/" = { proxyPass = "http://localhost:${toString port}"; };
|
||||||
} // extra;
|
} // extra;
|
||||||
in {
|
in {
|
||||||
"tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; };
|
# "tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; };
|
||||||
"gitea.tlater.net" = host 3000 { };
|
# "gitea.tlater.net" = host 3000 { };
|
||||||
"nextcloud.tlater.net" = host 3001 { };
|
# "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