summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/systemdultras/ircbot.nix
blob: df9741d9c3526378eb8be427df9e69b809e76258 (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
{ pkgs, ... }: {
  systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG";

  services.rss-bridge = {
    enable = true;
    whitelist = [ "*" ];
    virtualHost = "rss.makefu.r";
  };

  krebs.brockman = {
    enable = true;
    config = {
      channel = "#systemdultras";
      irc = {
        host = "irc.hackint.org";
        port = 6697;
        tls = true;
      };
      notifyErrors = false;
      bots = {
        r-systemdultras-rss = {
          feed = "https://www.reddit.com/r/systemdultras/.rss";
          delay = 236;
        };
        r-systemd-rss = {
          feed = "https://www.reddit.com/r/systemd/.rss";
          delay = 272;
        };
        r-pid_eins-twitter = {
          feed = "http://rss.makefu.r/?action=display&bridge=Twitter&context=By+username&u=pid_eins&format=Atom";
          delay = 621;
        };
      };
    };

  };
}