2024-04-12 13:40:27 +00:00
|
|
|
{ self, ... }:
|
|
|
|
{
|
|
|
|
imports = [ self.inputs.clan-core.clanModules.matrix-synapse ];
|
|
|
|
clan.matrix-synapse.domain = "clan.lol";
|
2024-06-11 13:35:40 +00:00
|
|
|
|
2024-06-17 11:52:22 +00:00
|
|
|
clan.matrix-synapse.users.admin = {
|
|
|
|
admin = true;
|
|
|
|
};
|
|
|
|
clan.matrix-synapse.users.monitoring = { };
|
2024-06-26 12:35:10 +00:00
|
|
|
clan.matrix-synapse.users.clan-bot = { };
|
2024-07-02 11:42:59 +00:00
|
|
|
|
|
|
|
# Rate limiting settings
|
|
|
|
# we need to up this to be able to support matrix bots
|
|
|
|
services.matrix-synapse.settings = {
|
|
|
|
rc_login = {
|
|
|
|
address = {
|
|
|
|
per_second = 20;
|
|
|
|
burst_count = 200;
|
|
|
|
};
|
|
|
|
account = {
|
|
|
|
per_second = 20;
|
|
|
|
burst_count = 200;
|
|
|
|
};
|
|
|
|
failed_attempts = {
|
|
|
|
per_second = 3;
|
|
|
|
burst_count = 15;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-04-12 13:40:27 +00:00
|
|
|
}
|