summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/systemdultras/ircbot.nix
blob: 21aa28b6edd8f28e8d967794a1b5002fa924b6e7 (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 = 136;
        };
        r-systemd-rss = {
          feed = "https://www.reddit.com/r/systemd/.rss";
          delay = 172;
        };
        r-pid_eins-twitter = {
          feed = "http://rss.makefu.r/?action=display&bridge=Twitter&context=By+username&u=pid_eins&format=Atom";
          delay = 621;
        };
      };
    };

  };
}