migrate matrix db to own host
This commit is contained in:
parent
2ba74c195d
commit
57515cab45
5 changed files with 34 additions and 26 deletions
17
hosts/matrix/draupnir.nix
Normal file
17
hosts/matrix/draupnir.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.draupnir = {
|
||||
enable = true;
|
||||
settings = {
|
||||
homeserverUrl = "https://matrix.${config.networking.domain}";
|
||||
managementRoom = "!ZYWNuaQBkkenNklCSm:matrix.org"; # #cccb-moderators:berlin.ccc.de
|
||||
autojoinOnlyIfManager = true;
|
||||
recordIgnoredInvites = true;
|
||||
roomStateBackingStore.enabled = true;
|
||||
displayReports = true;
|
||||
};
|
||||
secrets.accessToken = config.age.secrets.draupnir_access_token.path;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue