blob: d02e60695485151395a998e171bc7c3588ff7535 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ pkgs, ... }:
{
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.libera.chat";
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;
};
};
};
};
}
|