From cbefbefc1535a251531362d62b5e67fe47ff9b65 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Tue, 10 Sep 2024 15:15:08 -0400 Subject: [PATCH] Fix a reference whoopsie --- nixos/server/coturn.nix | 4 ++-- nixos/server/synapse.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/server/coturn.nix b/nixos/server/coturn.nix index abb109e..4c77867 100644 --- a/nixos/server/coturn.nix +++ b/nixos/server/coturn.nix @@ -1,4 +1,4 @@ -{outputs, ...}: { +{outputs, config, ...}: { services = { coturn = rec { enable = true; @@ -19,7 +19,7 @@ "turn:turn.${outputs.secrets.jimDomain}:3478?transport=udp" "turn:turn.${outputs.secrets.jimDomain}:3478?transport=tcp" ]; - turn_shared_secret = static-auth-secret; + turn_shared_secret = config.services.coturn.static-auth-secret; turn_user_lifetime = "1h"; }; diff --git a/nixos/server/synapse.nix b/nixos/server/synapse.nix index 71cb5bc..ff267ff 100644 --- a/nixos/server/synapse.nix +++ b/nixos/server/synapse.nix @@ -1,4 +1,4 @@ -{pkgs, outputs, config, ...}: { +{pkgs, outputs, ...}: { services = { # Synapse Matrix server matrix-synapse = {