From 06593a088ba28c1cc48ec40254084ea2bd4ceb76 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 21 May 2022 21:02:50 +0200 Subject: modules/Profpatsch/weechat: Add the matrix script --- modules/user/profpatsch/programs/weechat.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'modules/user/profpatsch') 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) -- cgit 1.4.1