summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-09-05 21:27:30 +0200
committerlassulus <lassulus@lassul.us>2021-09-05 21:27:30 +0200
commit87c758f629ce70addf40f0509b8a7856fe0f0da4 (patch)
tree5f7a3c3c481ec677b7a03471a23d3d2224448717 /krebs
parent52d25726c2a01b3400f79303606bbcf63778eda8 (diff)
puyak: add shackie reaktor irc bot
Diffstat (limited to 'krebs')
-rw-r--r--krebs/1systems/puyak/config.nix3
-rw-r--r--krebs/2configs/shack/reaktor.nix19
2 files changed, 22 insertions, 0 deletions
diff --git a/krebs/1systems/puyak/config.nix b/krebs/1systems/puyak/config.nix
index 2f122f6f..1dcf2030 100644
--- a/krebs/1systems/puyak/config.nix
+++ b/krebs/1systems/puyak/config.nix
@@ -115,6 +115,9 @@
## Collect local statistics via collectd and send to collectd
<stockholm/krebs/2configs/stats/shack-client.nix>
<stockholm/krebs/2configs/stats/shack-debugging.nix>
+
+ ## shackie irc bot
+ <stockholm/krebs/2configs/shack/reaktor.nix>
];
krebs.build.host = config.krebs.hosts.puyak;
diff --git a/krebs/2configs/shack/reaktor.nix b/krebs/2configs/shack/reaktor.nix
new file mode 100644
index 00000000..40c12129
--- /dev/null
+++ b/krebs/2configs/shack/reaktor.nix
@@ -0,0 +1,19 @@
+{ config, lib, pkgs, ... }:
+{
+ krebs.reaktor2.shackie = {
+ hostname = "irc.libera.chat";
+ port = "6697";
+ nick = "shackie";
+ API.listen = "inet://127.0.0.1:7777";
+ plugins = [
+ {
+ plugin = "register";
+ config = {
+ channels = [
+ "#shackspace"
+ ];
+ };
+ }
+ ];
+ };
+}