helm/profiles/matrix/mjolnir.nix

21 lines
552 B
Nix
Raw Normal View History

2022-10-09 06:32:31 -07:00
{ pkgs, lib, config, ... }:
{
services.mjolnir = {
enable = true;
protectedRooms = [
"https://matrix.to/#/#public:sealight.xyz"
"https://matrix.to/#/#theFeed:sealight.xyz"
"https://matrix.to/#/#control:sealight.xyz"
];
managementRoom = "#control:sealight.xyz";
homeserverUrl = "https://sealight.xyz";
pantalaimon = {
enable = true;
username = "mod";
passwordFile = "/run/agenix/sealight-mod-password"; # TODO
options.homeserver = config.services.mjolnir.homeserverUrl;
};
};
}