From 51eaeac0bc3ec8543dbb24fb3398a906fa8b22b3 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 1 Oct 2021 18:53:26 +0200 Subject: ma systemdultras/ircbot: for hackint, use tls --- makefu/2configs/systemdultras/ircbot.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'makefu/2configs/systemdultras') 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; + }; }; }; -- cgit v1.2.3