2023-08-29 07:03:37 +02:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
weechat
|
|
|
|
];
|
|
|
|
|
2023-08-29 07:25:35 +02:00
|
|
|
# Per the README, set matrix-sso-helper in your $PATH
|
|
|
|
environment.interactiveShellInit = ''
|
|
|
|
alias matrix_sso_helper=${pkgs.weechatScripts.weechat-matrix}/bin/matrix_sso_helper
|
|
|
|
'';
|
|
|
|
|
2023-08-29 07:03:37 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
)
|
|
|
|
];
|
2023-08-29 06:52:14 +02:00
|
|
|
}
|