bvm-prosody: add coturn
This commit is contained in:
parent
efe1aa51db
commit
5a3a55e302
1 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,10 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
let
|
||||||
|
inherit (depot.ops) secrets;
|
||||||
|
machineSecrets = secrets.machineSpecific.bvm-prosody;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../lib/bvm.nix
|
../lib/bvm.nix
|
||||||
];
|
];
|
||||||
|
@ -19,5 +22,12 @@
|
||||||
};
|
};
|
||||||
my.ip.tailscale = "100.86.22.44";
|
my.ip.tailscale = "100.86.22.44";
|
||||||
|
|
||||||
|
services.coturn = {
|
||||||
|
enable = true;
|
||||||
|
use-auth-secret = true;
|
||||||
|
realm = "turn.lukegb.com";
|
||||||
|
static-auth-secret = machineSecrets.turnSecret;
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue