coturn init

This commit is contained in:
admin 2024-03-10 22:33:51 +01:00
parent 9ae7cfc95e
commit d4a85d3d91
4 changed files with 8 additions and 10 deletions

View file

@ -27,14 +27,6 @@
# Enable networking
networking.networkmanager.enable = true;
services.tailscale = {
enable =true;
useRoutingFeatures = "server";
extraUpFlags = [
"--advertise-exit-node"
"--exit-node"
];
};
# Set your time zone.
time.timeZone = "Europe/Stockholm";

View file

@ -8,7 +8,7 @@
max-port = 50000;
use-auth-secret = true;
static-auth-secret-file = "/etc/nixos/.secrets/coturn.secret";
realm = "turn.example.com";
realm = "turn.sondell.org";
cert = "${config.security.acme.certs.${realm}.directory}/full.pem";
pkey = "${config.security.acme.certs.${realm}.directory}/key.pem";
extraConfig = ''

View file

@ -14,6 +14,8 @@
./jellyfin.nix
./filebrowser.nix
./matrix.nix
./tail.nix
./coturn.nix
];
};

View file

@ -1,7 +1,11 @@
{ config, ... }:
{
services.tailscale = {
enable = true;
enable =true;
useRoutingFeatures = "both";
extraUpFlags = [
"--advertise-exit-node"
"--exit-node"
];
};
}