Config coturn

This commit is contained in:
Invariantspace 2024-08-31 23:53:22 -07:00
parent 9710cae748
commit b08a27c475
No known key found for this signature in database
GPG key ID: EBC4A20067373921
8 changed files with 122 additions and 88 deletions

View file

@ -31,6 +31,10 @@ with lib; {
default = {
aria2 = 30206;
conduit = 29800;
coturn = 12616;
coturn-tls = 38313;
coturn-relay-udp-min = 17105;
coturn-relay-udp-max = 17184;
forgejo = 47674;
headscale = 27327;
http = 80;
@ -55,7 +59,7 @@ with lib; {
type = types.listOf types.str;
default =
if config.services.openssh.enable
then builtins.map (key: key.path) config.services.openssh.hostKeys
then map (key: key.path) config.services.openssh.hostKeys
else ["/root/.ssh/${config.networking.hostName}"];
description = ''
The private key files for sops.