mio-ops/profiles/weechat.nix

36 lines
1.2 KiB
Nix
Raw Normal View History

2020-09-18 12:05:27 +00:00
# Weechat application configuration common to all hosts
{
2022-03-07 14:26:15 +00:00
config,
pkgs,
lib,
...
}: {
2020-09-18 12:05:27 +00:00
environment.systemPackages = with pkgs; [
2021-11-16 04:57:23 +00:00
aspell # Required for spell checking in weechat
aspellDicts.en # Required for spell checking in weechat
aspellDicts.en-computers # Required for spell checking in weechat
aspellDicts.en-science # Required for spell checking in weechat
2020-09-18 12:05:27 +00:00
(weechat.override {
2022-03-07 14:26:15 +00:00
configure = {availablePlugins, ...}:
2021-11-16 04:57:23 +00:00
with weechatScripts; {
plugins = with availablePlugins; [
lua
perl
(python.withPackages (ps:
with ps; [
dbus-python
websocket_client # Required by wee-slack
weechat-matrix # https://github.com/NixOS/nixpkgs/pull/79669#issuecomment-584249420
]))
];
scripts = [
wee-slack # A WeeChat plugin for Slack.com
weechat-autosort # Automatically or manually keep your buffers sorted
weechat-matrix # Weechat communication over the Matrix protocol
];
};
2020-09-18 12:05:27 +00:00
})
2021-11-16 04:57:23 +00:00
weechatScripts.weechat-matrix # Weechat communication over the Matrix protocol
2020-09-18 12:05:27 +00:00
];
}