2021-05-15 12:03:43 +00:00
|
|
|
{ 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";
|
2021-03-20 11:51:02 +00:00
|
|
|
#extraChannels = [ "#binaergewitter" ];
|
2021-03-12 19:11:00 +00:00
|
|
|
delay = 180;
|
|
|
|
};
|
|
|
|
bgt-blog-rss = {
|
|
|
|
feed = "https://blog.binaergewitter.de/rss.xml";
|
2021-03-20 11:51:02 +00:00
|
|
|
#extraChannels = [ "#binaergewitter" ];
|
2021-03-12 19:11:00 +00:00
|
|
|
delay = 180;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|