mio-ops/profiles/weechat.nix

37 lines
1.2 KiB
Nix
Raw Normal View History

2020-09-18 12:05:27 +00:00
# Weechat application configuration common to all hosts
{ config, pkgs, lib, ... }:
{
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 {
2021-11-16 04:57:23 +00:00
configure = { availablePlugins, ... }:
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
weechat-otr # WeeChat script for Off-the-Record messaging
];
};
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
];
}