From 1aaf6213c4b7a3eb118aa91997203a483b0ab5ea 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 8cb1375..e98a573 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 0000000..17d2863 --- /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