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"; + }; + }; + }; +}