From 6b0161b2639bb49e270754e90f4f8a47311c5198 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 18 Sep 2026 23:26:17 +0530 Subject: chore: projectwide refactoring - Using more consistent naming conventions across the project. Using java style super descriptive variable names. - Removed slop comments in favor of using more descriptive naming conventions. --- modules/communication/neomutt/account/sync-channel.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/communication/neomutt/account') diff --git a/modules/communication/neomutt/account/sync-channel.nix b/modules/communication/neomutt/account/sync-channel.nix index 5af7443..7e538f2 100644 --- a/modules/communication/neomutt/account/sync-channel.nix +++ b/modules/communication/neomutt/account/sync-channel.nix @@ -4,11 +4,15 @@ name, ... }@inputs: +let + + mbsyncNamesFromName = (import ../lib.nix { inherit lib; }).mbsyncNamesFromName; +in { config = lib.mkIf config.enable { neomutt.extraConfig = let - mbsyncNames = (import ../lib.nix inputs).mbsyncNamesFromName name; + mbsyncNames = mbsyncNamesFromName name; in '' macro index,pager gs "set my_wait_key=$wait_key wait_key=noneomutt-sync ${mbsyncNames.channels.quick}set wait_key=$my_wait_key" -- cgit v1.2.3