15 lines
348 B
Nix
15 lines
348 B
Nix
{config, ...}: {
|
|
networking.firewall.allowedUDPPorts = [config.services.teamspeak3.defaultVoicePort];
|
|
services.teamspeak3 = {
|
|
enable = true;
|
|
};
|
|
environment.persistence."/persist".directories = [
|
|
{
|
|
directory = "/var/lib/teamspeak3-server/";
|
|
user = "teamspeak";
|
|
group = "teamspeak";
|
|
mode = "750";
|
|
}
|
|
];
|
|
}
|