From 432325be09497d64cde6a970e3b58625e94f38a5 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 14 Sep 2022 21:34:29 +0200 Subject: tv weechat-tv: init --- tv/3modules/im.nix | 2 +- tv/5pkgs/simple/weechat-tv.nix | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tv/5pkgs/simple/weechat-tv.nix (limited to 'tv') diff --git a/tv/3modules/im.nix b/tv/3modules/im.nix index 8cb13751..e98a5732 100644 --- a/tv/3modules/im.nix +++ b/tv/3modules/im.nix @@ -71,7 +71,7 @@ in { export PATH=${lib.makeSearchPath "bin" [ pkgs.tmux pkgs.gnugrep - pkgs.weechat + pkgs.weechat-tv ]} if tmux list-sessions -F\#S | grep -q '^im''$'; then exec tmux attach -t im diff --git a/tv/5pkgs/simple/weechat-tv.nix b/tv/5pkgs/simple/weechat-tv.nix new file mode 100644 index 00000000..17d28636 --- /dev/null +++ b/tv/5pkgs/simple/weechat-tv.nix @@ -0,0 +1,9 @@ +{ lib, pkgs }: + +pkgs.wrapWeechat pkgs.weechat-unwrapped { + configure = { availablePlugins, ... }: { + scripts = [ + pkgs.weechatScripts.weechat-matrix + ]; + }; +} -- cgit v1.2.3