stockholm/makefu/2configs/systemdultras/ircbot.nix

32 lines
790 B
Nix
Raw Normal View History

2021-05-15 11:17:28 +00:00
{ pkgs, ... }: {
systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG";
2021-05-15 11:17:28 +00:00
systemd.services.restart-brockman = {
after = [ "brockman.service" ];
wantedBy = [ "multi-user.target" ];
startAt = "daily";
script = "${pkgs.systemd}/bin/systemctl try-restart brockman.service";
};
krebs.brockman = {
enable = true;
config = {
channel = "#systemdultras";
irc = {
2021-05-25 07:52:00 +00:00
host = "irc.hackint.org";
port = 6667;
};
notifyErrors = false;
bots = {
r-systemdultras-rss = {
feed = "https://www.reddit.com/r/systemdultras/.rss";
delay = 136;
};
r-systemd-rss = {
feed = "https://www.reddit.com/r/systemd/.rss";
delay = 172;
};
};
};
};
}