Contact completion configuration as expected per alot. See alot's wiki for explanation about possible values.
Declarations
Type
attribute set of string
Default
{
command = "'\${pkgs.notmuch}/bin/notmuch address --format=json --output=recipients date:6M..'";
regexp = "'\\[?{\"name\": \"(?P<name>.*)\", \"address\": \"(?P<email>.+)\", \"name-addr\": \".*\"}[,\\]]?'";
shellcommand_external_filtering = "False";
type = "shellcommand";
}</email></name>
Example
{
type = "shellcommand";
command = "abook --mutt-query";
regexp = "'^(?P<email>[^@]+@[^\t]+)\t+(?P<name>[^\t]+)'";
ignorecase = "True";
}
</name></email>