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 = {
|
services.draupnir = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
settings =
|
||||||
homeserverUrl = config.services.matrix-continuwuity.settings.global.well_known.client;
|
let
|
||||||
rawHomeserverUrl = homeserverUrl;
|
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;
|
autojoinOnlyIfManager = false;
|
||||||
protectAllJoinedRooms = true;
|
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;
|
secrets.accessToken = config.age.secrets."draupnir.age".path;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
14
flake.lock
generated
14
flake.lock
generated
|
|
@ -1042,11 +1042,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759337100,
|
"lastModified": 1759573136,
|
||||||
"narHash": "sha256-CcT3QvZ74NGfM+lSOILcCEeU+SnqXRvl1XCRHenZ0Us=",
|
"narHash": "sha256-ILSPD0Dm8p0w0fCVzOx98ZH8yFDrR75GmwmH3fS2VnE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "004753ae6b04c4b18aa07192c1106800aaacf6c3",
|
"rev": "5f06ceafc6c9b773a776b9195c3f47bbe1defa43",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1490,11 +1490,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759512612,
|
"lastModified": 1759591064,
|
||||||
"narHash": "sha256-7X1Une4h7MDaf4SIdNHagASQFeXjo27pW1OPAW6K4AE=",
|
"narHash": "sha256-Bd/liiNYhDuEyeZ1r5ljUWVYOM2lo9/ZOUUte9z0yf4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "ad9d2ebb82675e8d0a455a37709251ac25459d4d",
|
"rev": "94ba4801a9211f7f43bd2533d93ae71de6e321d4",
|
||||||
"revCount": 26,
|
"revCount": 27,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.federated.nexus/federated-nexus/nexusbot"
|
"url": "https://git.federated.nexus/federated-nexus/nexusbot"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue