neomutt: merge account rc files with mergeAttrsList

Per-account rc files were combined with a linear foldl' of //. mergeAttrsList
is the equivalent shallow merge without the quadratic accumulator recopy.
This commit is contained in:
Austin Horstman
2026-06-17 13:04:43 -05:00
parent b3f454e5c2
commit 50978d4bf6
+1 -1
View File
@@ -498,7 +498,7 @@ in
"${accountFilename account}".text = accountStr account;
};
in
lib.foldl' (a: b: a // b) { } (map rcFile neomuttAccounts);
lib.mergeAttrsList (map rcFile neomuttAccounts);
xdg.configFile."neomutt/neomuttrc" = mkIf (neomuttAccounts != [ ]) {
text =