fix: use synapse and nfty for matrix and federation

This commit is contained in:
Jet Pham 2026-02-23 23:01:26 -08:00
parent 75a49c7516
commit 7795be78c5
No known key found for this signature in database
7 changed files with 68 additions and 1 deletions

View file

@ -23,7 +23,30 @@
}
];
enable_registration = true;
enable_registration = false;
registration_shared_secret = "extremist_software_admin_creation";
macaroon_secret_key = config.mySecrets.matrixMacaroon;
database = {
name = "psycopg2";
allow_unsafe_locale = true;
args = {
user = "matrix-synapse";
database = "matrix-synapse";
host = "/run/postgresql";
cp_min = 5;
cp_max = 10;
};
};
};
};
services.postgresql = {
enable = true;
ensureDatabases = [ "matrix-synapse" ];
ensureUsers = [{
name = "matrix-synapse";
ensureDBOwnership = true;
}];
};
}