diff options
Diffstat (limited to 'makefu/2configs/systemdultras')
-rw-r--r-- | makefu/2configs/systemdultras/ircbot.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/makefu/2configs/systemdultras/ircbot.nix b/makefu/2configs/systemdultras/ircbot.nix index 20cdf7ba7..65583b9ac 100644 --- a/makefu/2configs/systemdultras/ircbot.nix +++ b/makefu/2configs/systemdultras/ircbot.nix @@ -1,18 +1,27 @@ { pkgs, ... }: { systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG"; + + services.rss-bridge = { + enable = true; + whitelist = [ "*" ]; + virtualHost = "rss.makefu.r"; + }; + 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 = { host = "irc.hackint.org"; - port = 6667; + port = 6697; + tls = true; }; notifyErrors = false; bots = { @@ -24,6 +33,10 @@ 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; + }; }; }; |