diff --git a/config/hosts/grondahl/data/secrets/synapse_extra_config b/config/hosts/grondahl/data/secrets/synapse_extra_config index c33b2c0..82813ef 100644 Binary files a/config/hosts/grondahl/data/secrets/synapse_extra_config and b/config/hosts/grondahl/data/secrets/synapse_extra_config differ diff --git a/config/hosts/grondahl/services/synapse.nix b/config/hosts/grondahl/services/synapse.nix index 3155a21..8eaca03 100644 --- a/config/hosts/grondahl/services/synapse.nix +++ b/config/hosts/grondahl/services/synapse.nix @@ -3,8 +3,13 @@ { services.matrix-synapse = { enable = true; - extraConfigFiles = [ config.secrets.files.synapse_extra_config.file ]; + withJemalloc = true; settings = { + database = { + name = "psycopg2"; + args.user = "matrix-synapse"; + args.database = "matrix-synapse"; + }; server_name = "anarkafem.dev"; enable_registration = false; @@ -22,7 +27,6 @@ "turns:turn.anarkafem.dev:5350?transport=tcp" ]; report_stats = false; - withJemalloc = true; servers = { "anarkafem.dev" = {}; }; extraConfig = '' default_room_version: "9"