feat(selfhost/teamspeak): adding teamspeak to the configuration
This commit is contained in:
parent
62d63e139b
commit
20ffcf4ac1
4 changed files with 35 additions and 0 deletions
|
|
@ -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"
|
||||
];
|
||||
|
|
|
|||
23
services/self_host/teamspeak.nix
Normal file
23
services/self_host/teamspeak.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue