From 77becc9d521490a71560fa87ee33e4f600839cfd Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 30 Sep 2026 03:09:58 +0530 Subject: feat(communication/neomutt): reworked the email syncing Now we have the ability to map each folder on the remote server with a folder with an arbitrary name in the local server. Each folder gets its own channel with quick and full variations where the quick only download the new emails from the remote to the local and full makes a sync both ways. --- modules/communication/neomutt/account/options.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/communication/neomutt/account/options.nix') diff --git a/modules/communication/neomutt/account/options.nix b/modules/communication/neomutt/account/options.nix index 676f8b0..3090db2 100644 --- a/modules/communication/neomutt/account/options.nix +++ b/modules/communication/neomutt/account/options.nix @@ -121,6 +121,14 @@ description = "Flatten hierarchy delimiter."; }; + folders = { + map = lib.mkOption { + type = lib.types.attrsOf lib.types.str; + default = { }; + description = "Local folder name -> remote folder name, for folders that should be renamed locally."; + }; + }; + extraConfig = { account = lib.mkOption { type = lib.types.attrsOf ( -- cgit v1.2.3