diff --git a/systems/x86_64-linux/mx/coturn.nix b/systems/x86_64-linux/mx/coturn.nix index 9136f71..15aee9a 100644 --- a/systems/x86_64-linux/mx/coturn.nix +++ b/systems/x86_64-linux/mx/coturn.nix @@ -4,9 +4,9 @@ sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file }; - coturn = { + services.coturn = { enable = true; - realm = config.services.nextcloud.hostname; + realm = config.services.nextcloud.hostName; static-auth-secret-file = config.sops.secrets."coturn/static-auth-secret".path; use-auth-secret = true; lt-cred-mech = true; diff --git a/systems/x86_64-linux/mx/default.nix b/systems/x86_64-linux/mx/default.nix index 62a7a28..d0fd296 100644 --- a/systems/x86_64-linux/mx/default.nix +++ b/systems/x86_64-linux/mx/default.nix @@ -13,6 +13,7 @@ ./forgejo.nix ./nginx.nix ./network.nix + ./coturn.nix ]; metacfg = {