1
0
Fork 0

bicep/synapse: define registration secret properly

This commit is contained in:
Daniel Lovbrotte Olsen 2023-09-13 04:53:56 +02:00
parent f92ebbee16
commit 4a6ea9be2d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,6 @@ in {
extraConfigFiles = [ extraConfigFiles = [
config.sops.secrets."matrix/synapse/dbconfig".path config.sops.secrets."matrix/synapse/dbconfig".path
config.sops.secrets."matrix/synapse/user_registration".path
]; ];
settings = { settings = {
@ -81,6 +80,7 @@ in {
mau_stats_only = true; mau_stats_only = true;
enable_registration = false; enable_registration = false;
registration_shared_secret_path = config.sops.secrets."matrix/synapse/user_registration".path;
password_config.enabled = lib.mkForce false; password_config.enabled = lib.mkForce false;