diff options
author | makefu <github@syntax-fehler.de> | 2021-10-01 18:53:26 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-10-01 18:53:26 +0200 |
commit | 51eaeac0bc3ec8543dbb24fb3398a906fa8b22b3 (patch) | |
tree | 6bea6c0f6bb237748ecd59ccad8255be0bdb7b52 /makefu/2configs | |
parent | 3a4d724068013b8ef1550eb4eda3310dd5be285e (diff) |
ma systemdultras/ircbot: for hackint, use tls
Diffstat (limited to 'makefu/2configs')
-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; + }; }; }; |