diff options
author | tv <tv@krebsco.de> | 2022-09-14 21:34:29 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-09-14 21:35:30 +0200 |
commit | 432325be09497d64cde6a970e3b58625e94f38a5 (patch) | |
tree | 7b04444c6aab153a65d69db89f8f4846227f3f4e /tv | |
parent | 5de8b8530cb436118db192d90824bc6efdfda18a (diff) |
tv weechat-tv: init
Diffstat (limited to 'tv')
-rw-r--r-- | tv/3modules/im.nix | 2 | ||||
-rw-r--r-- | tv/5pkgs/simple/weechat-tv.nix | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tv/3modules/im.nix b/tv/3modules/im.nix index 8cb137510..e98a57327 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 000000000..17d286366 --- /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 + ]; + }; +} |