From 37187d29f99629f8d68d4cf91839aab10b7f7b5b Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Mon, 17 Jun 2024 21:55:06 -0400 Subject: [PATCH] update path to secrets for matrix --- .../hosts/nixos/hetznix01/post-install/matrix-synapse.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/hosts/nixos/hetznix01/post-install/matrix-synapse.nix b/modules/hosts/nixos/hetznix01/post-install/matrix-synapse.nix index c5dd2fd..6770ab8 100644 --- a/modules/hosts/nixos/hetznix01/post-install/matrix-synapse.nix +++ b/modules/hosts/nixos/hetznix01/post-install/matrix-synapse.nix @@ -4,6 +4,10 @@ in { services.matrix-synapse = { enable = true; configureRedisLocally = true; + enableRegistrationScript = true; + extraConfigFiles = [ + config.sops.secrets.matrix_secrets_yaml; + ]; settings = { public_baseurl = "https://matrix.technicalissues.us"; listeners = [ @@ -36,8 +40,6 @@ in { }; url_preview_enabled = true; enable_registration = false; - registration_shared_secret = config.sops.secrets.matrix-registration_shared_secret; - macaroon_secret_key = config.sops.secrets.matrix-macaroon_secret_key; trusted_key_servers = [{ server_name = "matrix.org"; }]; };