summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-25 21:47:23 +0100
committerlassulus <lassulus@lassul.us>2022-01-25 21:47:23 +0100
commit37a3ec294857d911f98d032a4cd3b69e50ae54ba (patch)
treedccc34d57ae773cbd9c9635af2089b5154d53901 /krebs
parentf78f3c701b31e08c39c767434e27d5a4a3861247 (diff)
teach reaktor2 how to dance
Diffstat (limited to 'krebs')
-rw-r--r--krebs/2configs/reaktor2.nix2
-rw-r--r--krebs/5pkgs/simple/reaktor2-plugins.nix10
2 files changed, 11 insertions, 1 deletions
diff --git a/krebs/2configs/reaktor2.nix b/krebs/2configs/reaktor2.nix
index df66fd798..305d31405 100644
--- a/krebs/2configs/reaktor2.nix
+++ b/krebs/2configs/reaktor2.nix
@@ -95,7 +95,7 @@ let
}
hooks.sed
(generators.command_hook {
- inherit (commands) random-emoji nixos-version;
+ inherit (commands) dance random-emoji nixos-version;
tell = {
filename =
<stockholm/krebs/5pkgs/simple/Reaktor/scripts/tell-on_privmsg.sh>;
diff --git a/krebs/5pkgs/simple/reaktor2-plugins.nix b/krebs/5pkgs/simple/reaktor2-plugins.nix
index e23b14a23..54aaf246a 100644
--- a/krebs/5pkgs/simple/reaktor2-plugins.nix
+++ b/krebs/5pkgs/simple/reaktor2-plugins.nix
@@ -21,6 +21,16 @@ rec {
};
};
+ dance = {
+ filename = pkgs.writeDash "dance" ''
+ echo "<(^.^<)"
+ echo "<(^.^)>"
+ echo "(>^.^)>"
+ echo "(7^.^)7"
+ echo "(>^.^<)"
+ '';
+ };
+
nixos-version = {
filename = pkgs.writeDash "nixos-version" ''
. /etc/os-release