jabber: use shorter, direct vars

This commit is contained in:
Sandro - 2023-10-11 22:23:00 +02:00
parent a2c5110ece
commit 8b7a2f4039
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ in
enable = true;
realm = "turn.${domain}";
lt-cred-mech = true;
extraConfig = with zentralwerk.lib.config.site; ''
external-ip=${hosts.upstream4.interfaces.up4-pppoe.upstream.staticIpv4Address}/${net.serv.hosts4.jabber}
extraConfig = ''
external-ip=${zentralwerk.lib.dns.publicIPv4}/${zentralwerk.lib.config.site.net.serv.hosts4.jabber}
user=${coturnUser}:${coturnPassword}
'';