Compare commits

...

1 commit

Author SHA1 Message Date
Tristan Daniël Maat 3ec2db6a36
Add hydra 2021-05-13 21:12:11 +01:00
2 changed files with 20 additions and 7 deletions

View file

@ -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 { };
};
};

View file

@ -0,0 +1,11 @@
{ ... }:
{
services.hydra = {
enable = true;
port = 3003;
hydraURL = "hydra.tlater.net";
notificationSender = "hydra@tlater.net";
};
}