From 6f433e85103ed8c871b9ab68a3f0a8f029c74bd2 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Mon, 14 Jul 2025 13:42:01 +0200 Subject: [PATCH] feat: teamspeak --- hosts/hitsugibune/configuration.nix | 1 + hosts/hitsugibune/teamspeak.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 hosts/hitsugibune/teamspeak.nix diff --git a/hosts/hitsugibune/configuration.nix b/hosts/hitsugibune/configuration.nix index 05fcbe5..9ed4ac0 100644 --- a/hosts/hitsugibune/configuration.nix +++ b/hosts/hitsugibune/configuration.nix @@ -10,6 +10,7 @@ in { imports = [ ./hardware-configuration.nix ./nextcloud.nix + ./teamspeak.nix inputs.mms.module ]; diff --git a/hosts/hitsugibune/teamspeak.nix b/hosts/hitsugibune/teamspeak.nix new file mode 100644 index 0000000..d0ee892 --- /dev/null +++ b/hosts/hitsugibune/teamspeak.nix @@ -0,0 +1,19 @@ +{...}: { + virtualisation.oci-containers = { + backend = "docker"; + containers.ts69 = { + image = "teamspeaksystems/teamspeak6-server:latest"; + ports = [ + "9987:9987/udp" # Voice Port + "30033:30033/tcp" # File Transfer + # - "10080:10080/tcp" # Web Query + ]; + volumes = [ + "teamspeak-data:/var/tsserver/" + ]; + environment = { + TSSERVER_LICENSE_ACCEPTED = "accept"; + }; + }; + }; +}