38 lines
972 B
Nix
38 lines
972 B
Nix
{
|
|
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";
|
|
};
|
|
krebs.brockman = {
|
|
enable = true;
|
|
config = {
|
|
channel = "#binaergewitter";
|
|
notifyErrors = false;
|
|
irc = {
|
|
host = "irc.freenode.net";
|
|
port = 6667;
|
|
};
|
|
#controller = {
|
|
# nick = "brockman-systemdultras";
|
|
# channels = [];
|
|
#};
|
|
bots = {
|
|
bgt-mastodon-rss = {
|
|
feed = "https://jit.social/users/binaergewitter.rss";
|
|
#extraChannels = [ "#binaergewitter" ];
|
|
delay = 180;
|
|
};
|
|
bgt-blog-rss = {
|
|
feed = "https://blog.binaergewitter.de/rss.xml";
|
|
#extraChannels = [ "#binaergewitter" ];
|
|
delay = 180;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|