1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

bots: post on matrix as well

This commit is contained in:
2024-10-08 22:35:41 +02:00
parent a28fca11a7
commit 136d4e699f
2 changed files with 35 additions and 4 deletions

View File

@@ -14,17 +14,20 @@
chatIds = ["-1001760262519"];
parseMode = "Markdown";
};
mastodon = {
matrix = {
enable = true;
homeserver = "c.im";
tokenFile = config.age.secrets.mastodon-token-logotheca.path;
language = "de";
homeserver = "matrix.4d2.org";
tokenFile = config.age.secrets.matrix-token-lakai.path;
chatIds = [
"!zlwCuPiCNMSxDviFzA:4d2.org"
];
};
command = "${niveumPackages.literature-quote}/bin/literature-quote";
};
age.secrets = {
mastodon-token-logotheca.file = ../../secrets/mastodon-token-logotheca.age;
matrix-token-lakai.file = ../../secrets/matrix-token-lakai.age;
};
niveum.passport.services = [