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: {
weechat = super.weechat.override {
configure = {availablePlugins, ...}: {
scripts = with super.weechatScripts; [
scripts = with pkgs.weechatScripts; [
weechat-matrix
weechat-go
weechat-notify-send
];
plugins = builtins.attrValues availablePlugins;
};
};
}
)
];
}