coturn init
This commit is contained in:
parent
9ae7cfc95e
commit
d4a85d3d91
|
@ -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";
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
./jellyfin.nix
|
||||
./filebrowser.nix
|
||||
./matrix.nix
|
||||
./tail.nix
|
||||
./coturn.nix
|
||||
];
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue