mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(catullus): remove cool-village
This commit is contained in:
@@ -75,42 +75,6 @@ in {
|
||||
serviceConfig.Restart = "always";
|
||||
};
|
||||
|
||||
containers.cool-village-bridge = {
|
||||
autoStart = true;
|
||||
config = { lib, pkgs, ... }: {
|
||||
services.matterbridge = {
|
||||
enable = true;
|
||||
configPath =
|
||||
let coolVillageToken = lib.strings.removeSuffix "\n" (builtins.readFile <secrets/telegram/cool_village.token>);
|
||||
in toString (pkgs.writeText "matterbridge.toml" ''
|
||||
[general]
|
||||
RemoteNickFormat = "[{NOPINGNICK}] "
|
||||
|
||||
[telegram]
|
||||
[telegram.cool_village]
|
||||
Token = "${coolVillageToken}"
|
||||
|
||||
[irc]
|
||||
[irc.freenode]
|
||||
Server = "irc.freenode.net:6667"
|
||||
Nick = "cool_bridge"
|
||||
|
||||
[[gateway]]
|
||||
name = "cool-village-bridge"
|
||||
enable = true
|
||||
|
||||
[[gateway.inout]]
|
||||
account = "irc.freenode"
|
||||
channel = "##coolvillage"
|
||||
|
||||
[[gateway.inout]]
|
||||
account = "telegram.cool_village"
|
||||
channel = "-1001316977990"
|
||||
'');
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# systemd.services.telegram-horoscope = {
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
# description = "Telegram bot for generating horoscope charts";
|
||||
|
||||
Reference in New Issue
Block a user