Fix anarkafem.dev synapse db

This commit is contained in:
Emelie Graven 2022-08-10 21:30:41 +02:00
parent 8750d000bc
commit 4ba7a0328a
Signed by: emelie
GPG key ID: C11123726DBB55A1
2 changed files with 6 additions and 2 deletions

View file

@ -3,8 +3,13 @@
{ {
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
extraConfigFiles = [ config.secrets.files.synapse_extra_config.file ]; withJemalloc = true;
settings = { settings = {
database = {
name = "psycopg2";
args.user = "matrix-synapse";
args.database = "matrix-synapse";
};
server_name = "anarkafem.dev"; server_name = "anarkafem.dev";
enable_registration = false; enable_registration = false;
@ -22,7 +27,6 @@
"turns:turn.anarkafem.dev:5350?transport=tcp" "turns:turn.anarkafem.dev:5350?transport=tcp"
]; ];
report_stats = false; report_stats = false;
withJemalloc = true;
servers = { "anarkafem.dev" = {}; }; servers = { "anarkafem.dev" = {}; };
extraConfig = '' extraConfig = ''
default_room_version: "9" default_room_version: "9"