summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-05-25 16:24:38 +0200
committerlassulus <lass@aidsballs.de>2016-05-25 16:24:38 +0200
commit9a8cfe0c2183242d53207e597e9bbb3a7ba91b0b (patch)
tree9fc3cb2af71fb4a3a10813b469444f7bd131fc08
parentdb98837af5aef7687b12ca7a8ab336a7ed2b80ed (diff)
l 2 radio: add Reaktor config
-rw-r--r--lass/2configs/radio.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix
index 518ab8fa5..99a8c0859 100644
--- a/lass/2configs/radio.nix
+++ b/lass/2configs/radio.nix
@@ -146,4 +146,23 @@ in {
ExecStart = "${autoAdd} 100";
};
};
+
+ krebs.Reaktor = {
+ enable = true;
+ nickname = "the_playlist|r";
+ channels = [ "#the_playlist" ];
+ extraEnviron = {
+ REAKTOR_HOST = "irc.freenode.org";
+ };
+ plugins = with pkgs.ReaktorPlugins; [
+ (buildSimpleReaktorPlugin "skip" {
+ script = "${skip_track}/bin/skip_track";
+ pattern = "^skip$";
+ })
+ (buildSimpleReaktorPlugin "current" {
+ script = "${print_current}/bin/print_current";
+ pattern = "^current$";
+ })
+ ];
+ };
}