about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-05-21 21:02:50 +0200
committerProfpatsch <mail@profpatsch.de>2022-06-26 16:00:52 +0200
commit06593a088ba28c1cc48ec40254084ea2bd4ceb76 (patch)
tree4fbcabbcea05774a471457fc32b9516761730937 /modules
parentc11d0282277419219865d9f05303d485220e9ad5 (diff)
modules/Profpatsch/weechat: Add the matrix script
Diffstat (limited to 'modules')
-rw-r--r--modules/user/profpatsch/programs/weechat.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/user/profpatsch/programs/weechat.nix b/modules/user/profpatsch/programs/weechat.nix
index a4ade925..c291e574 100644
--- a/modules/user/profpatsch/programs/weechat.nix
+++ b/modules/user/profpatsch/programs/weechat.nix
@@ -17,13 +17,22 @@ let
     getBins
     ;
 
+  weechat-with-scripts = pkgs.weechat.override {
+    configure = { availablePlugins, ... }: {
+      scripts = [
+        pkgs.weechatScripts.weechat-matrix
+      ];
+    };
+  };
+
   bins = getBins pkgs.tmux [ "tmux" ]
-    // getBins pkgs.weechat [ "weechat" ]
+    // getBins weechat-with-scripts [ "weechat" ]
     // getBins pkgs.dash [ "dash" ]
     // getBins pkgs.s6-portable-utils [ "s6-sleep" "s6-test" ]
     // getBins pkgs.mosh [ "mosh-server" ]
     ;
 
+
   until = { delaySec }: writeExecline "until" {} [
       "if" "-tn" [ "$@" ]
       bins.s6-sleep (toString delaySec)