weechat overlay

This commit is contained in:
iFargle 2023-08-29 14:03:37 +09:00
parent 547e944c8e
commit a38856a2ed

View file

@ -1,11 +1,22 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
weechat
];
nixpkgs.overlays = [
(
self: super: { self: super: {
weechat = super.weechat.override { weechat = super.weechat.override {
configure = {availablePlugins, ...}: { configure = {availablePlugins, ...}: {
scripts = with super.weechatScripts; [ scripts = with pkgs.weechatScripts; [
weechat-matrix weechat-matrix
weechat-go weechat-go
weechat-notify-send weechat-notify-send
]; ];
plugins = builtins.attrValues availablePlugins;
}; };
}; };
} }
)
];
}