diff --git a/nixos/common/software/cli/weechat.nix b/nixos/common/software/cli/weechat.nix index 9f995f2f..8af55605 100644 --- a/nixos/common/software/cli/weechat.nix +++ b/nixos/common/software/cli/weechat.nix @@ -1,11 +1,22 @@ -self: super: { - weechat = super.weechat.override { - configure = { availablePlugins, ... }: { - scripts = with super.weechatScripts; [ - weechat-matrix - weechat-go - weechat-notify-send - ]; - }; - }; +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + weechat + ]; + + nixpkgs.overlays = [ + ( + self: super: { + weechat = super.weechat.override { + configure = {availablePlugins, ...}: { + scripts = with pkgs.weechatScripts; [ + weechat-matrix + weechat-go + weechat-notify-send + ]; + plugins = builtins.attrValues availablePlugins; + }; + }; + } + ) + ]; } \ No newline at end of file