summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-09-14 21:34:29 +0200
committertv <tv@krebsco.de>2022-09-14 21:35:30 +0200
commit1aaf6213c4b7a3eb118aa91997203a483b0ab5ea (patch)
treecce76d96fa000332a821dd0722c5c9e8c12d592b /tv
parent40b197d6f0fa5d6f00d02b70d0f820862ae01c25 (diff)
tv weechat-tv: init
Diffstat (limited to 'tv')
-rw-r--r--tv/3modules/im.nix2
-rw-r--r--tv/5pkgs/simple/weechat-tv.nix9
2 files changed, 10 insertions, 1 deletions
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
+ ];
+ };
+}