about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)