diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 12:35:27 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 12:35:27 +0530 |
| commit | 65e1ce5e82c0d272d91ca4213b0d27548768c2e7 (patch) | |
| tree | 1ed2d17a5d6660dd4da7a370137a983b61dba03e /modules/communication/neomutt/default.nix | |
| parent | d8d4727e9b6417948f21376e8293c755fa10c0f1 (diff) | |
| download | home-manager-config-65e1ce5e82c0d272d91ca4213b0d27548768c2e7.tar.gz home-manager-config-65e1ce5e82c0d272d91ca4213b0d27548768c2e7.zip | |
feat(neomutt): wrap neomutt with urlscan, remove flag legend
- Add `communication.neomutt.package` option wrapping neomutt with urlscan
- Replace standalone urlscan in home.packages with the wrapped package
- Drop flag_legend.txt and its `gl` macro binding
Diffstat (limited to 'modules/communication/neomutt/default.nix')
| -rw-r--r-- | modules/communication/neomutt/default.nix | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index f12ad02..70f286b 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -1,5 +1,10 @@ # Neomutt - Email suite entry point (neomutt + mbsync + notmuch) -{ config, lib, ... }: +{ + config, + lib, + pkgs, + ... +}: { imports = [ ./account @@ -12,6 +17,24 @@ options.communication.neomutt = { enable = lib.mkEnableOption "Email suite (neomutt + mbsync + notmuch)"; + + package = lib.mkOption { + type = lib.types.package; + default = pkgs.symlinkJoin { + name = "neomutt-wrapped"; + paths = with pkgs; [ + neomutt + urlscan + ]; + }; + defaultText = lib.literalExpression '' + pkgs.symlinkJoin { + name = "neomutt-wrapped"; + paths = with pkgs; [ neomutt urlscan ]; + } + ''; + description = "The neomutt package to use, wrapped with urlscan in PATH."; + }; }; config = lib.mkIf config.communication.neomutt.enable { |
