notmuch: add maildir.synchronizeFlags option

This commit is contained in:
Robert Helgesson 2018-11-25 01:14:15 +01:00
parent 9318bd3b0d
commit c21b69e73e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -23,6 +23,10 @@ let
path = config.accounts.email.maildirBasePath;
};
maildir = {
synchronize_flags = cfg.maildir.synchronizeFlags;
};
new = {
ignore = cfg.new.ignore;
tags = cfg.new.tags;
@ -86,9 +90,7 @@ in
extraConfig = mkOption {
type = types.attrsOf (types.attrsOf types.str);
default = {
maildir = { synchronize_flags = "true"; };
};
default = {};
description = ''
Options that should be appended to the notmuch configuration file.
'';
@ -126,6 +128,16 @@ in
'';
};
};
maildir = {
synchronizeFlags = mkOption {
type = types.bool;
default = true;
description = ''
Whether to synchronize Maildir flags.
'';
};
};
};
};