infra/hosts/matrix/draupnir.nix
Ricardo (XenGi) Band 3e0799d5a7
Some checks failed
Test Nix flake / Test nix flake (push) Has been cancelled
fix draupnir
2026-11-05 21:52:02 +01:00

16 lines
431 B
Nix

{ config, ... }:
{
services.draupnir = {
enable = true;
settings = {
homeserverUrl = "https://matrix.${config.networking.domain}";
managementRoom = "#moderators:berlin.ccc.de";
autojoinOnlyIfManager = true;
recordIgnoredInvites = true;
roomStateBackingStore.enabled = true;
displayReports = true;
};
secrets.accessToken = config.age.secrets.draupnir_access_token.path;
};
}