coturn init
This commit is contained in:
parent
9ae7cfc95e
commit
d4a85d3d91
|
@ -27,14 +27,6 @@
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
services.tailscale = {
|
|
||||||
enable =true;
|
|
||||||
useRoutingFeatures = "server";
|
|
||||||
extraUpFlags = [
|
|
||||||
"--advertise-exit-node"
|
|
||||||
"--exit-node"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Stockholm";
|
time.timeZone = "Europe/Stockholm";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
max-port = 50000;
|
max-port = 50000;
|
||||||
use-auth-secret = true;
|
use-auth-secret = true;
|
||||||
static-auth-secret-file = "/etc/nixos/.secrets/coturn.secret";
|
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";
|
cert = "${config.security.acme.certs.${realm}.directory}/full.pem";
|
||||||
pkey = "${config.security.acme.certs.${realm}.directory}/key.pem";
|
pkey = "${config.security.acme.certs.${realm}.directory}/key.pem";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./filebrowser.nix
|
./filebrowser.nix
|
||||||
./matrix.nix
|
./matrix.nix
|
||||||
|
./tail.nix
|
||||||
|
./coturn.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue