2022-10-10 03:57:43 -07:00
|
|
|
{ self, pkgs, lib, config, ... }:
|
2022-10-09 06:32:31 -07:00
|
|
|
{
|
2023-08-16 23:36:09 -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 = {
|
2023-08-16 23:36:09 -07:00
|
|
|
enable = false;
|
2022-10-09 06:32:31 -07:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|