aboutsummaryrefslogtreecommitdiff
path: root/modules/weechat.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2026-03-20 15:19:25 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2026-03-20 15:19:25 -0400
commitcfe005c685dab4319f2755ad9f61a47d98bc1e63 (patch)
tree99df07ca4fcd1830acc61b6ec1d064c72b330e21 /modules/weechat.nix
parentde49363c1af68984787ddf1e0cca7d4c69be33a2 (diff)
downloadhome-cfe005c685dab4319f2755ad9f61a47d98bc1e63.tar.gz
modules/weechat: initHEADmain
Diffstat (limited to 'modules/weechat.nix')
-rw-r--r--modules/weechat.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/weechat.nix b/modules/weechat.nix
new file mode 100644
index 0000000..3f12bea
--- /dev/null
+++ b/modules/weechat.nix
@@ -0,0 +1,34 @@
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
+let
+ cfg = config.modules.weechat;
+
+ weechat' = pkgs.weechat.override {
+ configure = { availablePlugins, ... }: {
+ scripts = with pkgs.weechatScripts; [
+ edit
+ colorize_nicks
+ autosort
+ highmon
+ weechat-grep
+ weechat-go
+ weechat-notify-send
+ ];
+ };
+ };
+in
+{
+ options.modules.weechat = {
+ enable = lib.mkEnableOption "weechat";
+ };
+
+ config = lib.mkIf cfg.enable {
+ home.packages = with pkgs; [
+ weechat'
+ ];
+ };
+}