# some basic common utility functions for neomutt { lib, ... }: { mbsyncGroupNames = accountName: let base = lib.replaceStrings [ "@" "." ] [ "-" "_" ] accountName; in { inherit base; full = "${base}-full"; quick = "${base}-quick"; }; }