helm/hosts/profiles/matrix/mjolnir.nix

23 lines
694 B
Nix
Raw Normal View History

{ self, pkgs, lib, config, ... }:
2022-10-09 06:32:31 -07:00
{
2022-10-10 02:10:07 -07:00
age.secrets.sealight-mod-password.file = "${self}/secrets/sealight-mod-password.age";
age.secrets.sealight-mod-password.owner = "mjolnir";
2022-10-09 06:32:31 -07:00
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";
2022-10-10 02:10:07 -07:00
passwordFile = "/run/agenix/sealight-mod-password";
2022-10-09 06:32:31 -07:00
options.homeserver = config.services.mjolnir.homeserverUrl;
};
};
}