summaryrefslogtreecommitdiff
path: root/Omni/Cloud/Comms/Coturn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Cloud/Comms/Coturn.nix')
-rw-r--r--Omni/Cloud/Comms/Coturn.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/Omni/Cloud/Comms/Coturn.nix b/Omni/Cloud/Comms/Coturn.nix
new file mode 100644
index 0000000..93093f0
--- /dev/null
+++ b/Omni/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";
+ };
+}