Compare commits
2 commits
2a7f905bc2
...
4c05f0767f
Author | SHA1 | Date | |
---|---|---|---|
4c05f0767f | |||
7ba4a8992c |
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./services/gitea.nix
|
./services/gitea.nix
|
||||||
|
./services/hydra.nix
|
||||||
./services/minecraft.nix
|
./services/minecraft.nix
|
||||||
./services/nextcloud.nix
|
./services/nextcloud.nix
|
||||||
./services/webserver.nix
|
./services/webserver.nix
|
||||||
|
@ -60,12 +61,13 @@
|
||||||
{
|
{
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = { proxyPass = "http://localhost:${toString port}"; };
|
locations."/" = { proxyPass = "http://127.0.0.1:${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 config.services.hydra.port { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
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