23 lines
498 B
Nix
23 lines
498 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
|
in
|
|
{
|
|
networking.firewall.allowedTCPPorts = [
|
|
30033 # ts TCP port opened for file transfers.
|
|
10011 # ts TCP port opened for ServerQuery connections.
|
|
];
|
|
|
|
networking.firewall.allowedUDPPorts = [
|
|
9987 # ts port
|
|
];
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
teamspeak_server = unstable.teamspeak_server;
|
|
};
|
|
|
|
services.teamspeak3= {
|
|
enable = true;
|
|
};
|
|
}
|