blob: c23680c9d0703dc9bf7e8e722376900de54cb4a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
config,
pkgs,
lib,
...
}:
{
services.draupnir = {
enable = true;
accessTokenFile = "/etc/draupnir-access-token";
settings = {
managementRoom = "#draupnir-cme:rory.gay";
recordIgnoredInvites = true; # We want to be aware of invites
autojoinOnlyIfManager = true; # ... but we don't want the bot to be invited to eg. Matrix HQ...
automaticallyRedactForReasons = [ "*" ]; # Always autoredact
fasterMembershipChecks = true;
homeserverUrl = "https://matrix.rory.gay";
backgroundDelayMS = 10; # delay isn't needed, I don't mind the performance hit
pollReports = false;
admin.enableMakeRoomAdminCommand = false;
commands.ban.defaultReasons = [
"spam"
];
};
};
}
|