feat(selfhost/teamspeak): adding teamspeak to the configuration

This commit is contained in:
Raphael 2025-07-12 23:48:44 +02:00
parent 62d63e139b
commit 20ffcf4ac1
4 changed files with 35 additions and 0 deletions

View file

@ -96,6 +96,8 @@ in
"https://nextcloud.enium.eu"
"https://htop.enium.eu"
"https://monitor.enium.eu"
"https://ts.enium.eu"
"https://monitor.enium.eu"
"https://ollama.enium.eu"
"http://relance-pas-stp.me:4242"
];

View file

@ -0,0 +1,23 @@
{ config, pkgs, lib, ... }:
let
cfg = config.service.selfhost.monitor;
in
{
config = lib.mkIf cfg {
services = {
teamspeak3 = {
enable = true;
};
nginx.virtualHosts."ts.enium.eu" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:9987";
proxyWebsockets = true;
};
};
};
};
}