bump
This commit is contained in:
parent
2a7af14b41
commit
ede7de10a0
2 changed files with 30 additions and 25 deletions
|
|
@ -2,29 +2,34 @@
|
|||
{
|
||||
services.draupnir = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
homeserverUrl = config.services.matrix-continuwuity.settings.global.well_known.client;
|
||||
rawHomeserverUrl = homeserverUrl;
|
||||
settings =
|
||||
let
|
||||
serverName = config.services.matrix-continuwuity.settings.global.server_name;
|
||||
homeserverUrl = config.services.matrix-continuwuity.settings.global.well_known.client;
|
||||
in
|
||||
{
|
||||
inherit homeserverUrl;
|
||||
rawHomeserverUrl = homeserverUrl;
|
||||
|
||||
managementRoom = "#moderators:${config.services.matrix-continuwuity.settings.global.server_name}";
|
||||
managementRoom = "#moderators:${serverName}";
|
||||
|
||||
autojoinOnlyIfManager = false;
|
||||
protectAllJoinedRooms = true;
|
||||
autojoinOnlyIfManager = false;
|
||||
acceptInvitesFromSpace = "#space:${serverName}";
|
||||
protectAllJoinedRooms = true;
|
||||
|
||||
roomStateBackingStore.enabled = false;
|
||||
roomStateBackingStore.enabled = false;
|
||||
|
||||
commands = {
|
||||
allowNoPrefix = true;
|
||||
ban.defaultReasons = [
|
||||
"spam"
|
||||
"advertising"
|
||||
"harassment"
|
||||
"troll"
|
||||
];
|
||||
};
|
||||
|
||||
commands = {
|
||||
allowNoPrefix = true;
|
||||
symbolPrefixes = [ "/" ];
|
||||
ban.defaultReasons = [
|
||||
"spam"
|
||||
"advertising"
|
||||
"harassment"
|
||||
"troll"
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
secrets.accessToken = config.age.secrets."draupnir.age".path;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue