clan-infra/modules/web01/matrix-synapse.nix

31 lines
676 B
Nix
Raw Normal View History

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 = { };
# 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
}