remove postgresql dependencies from matrix

This commit is contained in:
Ingolf Wagner 2023-02-08 17:36:50 +01:00
parent d753cdef5e
commit e1614619fa
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -86,17 +86,6 @@ in
"matrix-server-key:${config.sops.secrets.matrix-server-key.path}" "matrix-server-key:${config.sops.secrets.matrix-server-key.path}"
]; ];
systemd.services.dendrite.after = [ "postgresql.service" ];
services.postgresql = {
ensureDatabases = [ "dendrite" ];
ensureUsers = [
{
name = "dendrite";
ensurePermissions."DATABASE dendrite" = "ALL PRIVILEGES";
}
];
};
services.nginx.virtualHosts.${nginx-vhost} = { services.nginx.virtualHosts.${nginx-vhost} = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;