fix: use synapse and nfty for matrix and federation
This commit is contained in:
parent
75a49c7516
commit
7795be78c5
7 changed files with 68 additions and 1 deletions
|
|
@ -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;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue