summaryrefslogtreecommitdiff
path: root/Biz/Cloud/Comms/Coturn.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-04-24 15:11:15 -0400
committerBen Sima <ben@bsima.me>2023-04-28 08:05:28 -0400
commit02b2d3fa43bbfd8002fc6271f54a3d09e74b7cc4 (patch)
tree57c7ddda9f6f42f821f95368960910d1a3816e63 /Biz/Cloud/Comms/Coturn.nix
parente78c58ef9d2d89dea91c40251dd93404d182e8fd (diff)
Reorganize to Biz/Cloud/Comms
Diffstat (limited to 'Biz/Cloud/Comms/Coturn.nix')
-rw-r--r--Biz/Cloud/Comms/Coturn.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/Biz/Cloud/Comms/Coturn.nix b/Biz/Cloud/Comms/Coturn.nix
new file mode 100644
index 0000000..93093f0
--- /dev/null
+++ b/Biz/Cloud/Comms/Coturn.nix
@@ -0,0 +1,10 @@
+{ config, ... }:
+
+{
+ services.coturn = {
+ enable = true;
+ cert = "/var/lib/acme/${config.networking.domain}/fullchain.pem";
+ pkey = "/var/lib/acme/${config.networking.domain}/key.pem";
+ cli-ip = "127.0.0.1";
+ };
+}