nixos-config/2configs/bgt/social-to-irc.nix

38 lines
995 B
Nix
Raw Normal View History

{ pkgs, ... }:
2021-03-12 20:11:00 +01:00
{
2021-05-15 13:10:57 +02:00
systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG";
2021-03-12 20:11:00 +01:00
krebs.brockman = {
enable = true;
config = {
channel = "#binaergewitter";
2021-05-15 13:10:57 +02:00
notifyErrors = false;
2021-03-12 20:11:00 +01:00
irc = {
2021-05-25 09:52:00 +02:00
host = "irc.libera.chat";
2021-03-12 20:11:00 +01:00
port = 6667;
};
#controller = {
# nick = "brockman-systemdultras";
# channels = [];
#};
bots = {
bgt-mastodon-rss = {
feed = "https://jit.social/users/binaergewitter.rss";
#extraChannels = [ "#binaergewitter" ];
2021-03-12 20:11:00 +01:00
delay = 180;
};
bgt-blog-rss = {
feed = "https://blog.binaergewitter.de/rss.xml";
#extraChannels = [ "#binaergewitter" ];
2021-03-12 20:11:00 +01:00
delay = 180;
};
2021-10-01 18:33:07 +02:00
bgt-twitter = {
feed = "http://rss.makefu.r/?action=display&bridge=Twitter&context=By+username&u=binaergewitter&format=Atom";
#extraChannels = [ "#binaergewitter" ];
2021-12-13 08:59:23 +01:00
delay = 280;
2021-10-01 18:33:07 +02:00
};
2021-03-12 20:11:00 +01:00
};
};
};
}