stockholm/makefu/2configs/bgt/social-to-irc.nix

39 lines
986 B
Nix
Raw Normal View History

{ pkgs, ... }:
2021-03-12 19:11:00 +00:00
{
2021-05-15 11:10:57 +00:00
systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG";
systemd.services.restart-brockman = {
after = [ "brockman.service" ];
wantedBy = [ "multi-user.target" ];
startAt = "daily";
script = "${pkgs.systemd}/bin/systemctl try-restart brockman.service";
};
2021-03-12 19:11:00 +00:00
krebs.brockman = {
enable = true;
config = {
channel = "#binaergewitter";
2021-05-15 11:10:57 +00:00
notifyErrors = false;
2021-03-12 19:11:00 +00:00
irc = {
2021-05-25 07:52:00 +00:00
host = "irc.libera.chat";
2021-03-12 19:11:00 +00:00
port = 6667;
};
#controller = {
# nick = "brockman-systemdultras";
# channels = [];
#};
bots = {
bgt-mastodon-rss = {
feed = "https://jit.social/users/binaergewitter.rss";
#extraChannels = [ "#binaergewitter" ];
2021-03-12 19:11:00 +00:00
delay = 180;
};
bgt-blog-rss = {
feed = "https://blog.binaergewitter.de/rss.xml";
#extraChannels = [ "#binaergewitter" ];
2021-03-12 19:11:00 +00:00
delay = 180;
};
};
};
};
}