1 2 3 4 5 6 7 8 9 10 11 12 13 14
# some basic common utility functions for neomutt { lib, ... }: { mbsyncGroupNames = accountName: let base = lib.replaceStrings [ "@" "." ] [ "-" "_" ] accountName; in { inherit base; full = "${base}-full"; quick = "${base}-quick"; }; }