From 904dc24633ed7f67cad0fdfc4635dc33ee6ab9be Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 17 Mar 2019 01:06:59 +0000 Subject: modules/weechat: install Python script dependencies --- modules/workstation/weechat/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/workstation/weechat/default.nix') diff --git a/modules/workstation/weechat/default.nix b/modules/workstation/weechat/default.nix index 4ea9ec0084d2..08a1edb86e6f 100644 --- a/modules/workstation/weechat/default.nix +++ b/modules/workstation/weechat/default.nix @@ -5,7 +5,15 @@ export WEECHAT_HOME="$HOME/state/weechat" ''; - environment.systemPackages = with pkgs; [ weechat ]; + environment.systemPackages = with pkgs; [ + (weechat.override { + configure = { availablePlugins, ... }: { + plugins = with availablePlugins; [ + (python.withPackages (ps: with ps; [ potr websocket_client ])) + ]; + }; + }) + ]; home.qyliss.dirs."state/weechat".activationScripts.git = '' ${pkgs.git}/bin/git init -q -- cgit 1.4.1