1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

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; path = config.accounts.email.maildirBasePath;
}; };
maildir = {
synchronize_flags = cfg.maildir.synchronizeFlags;
};
new = { new = {
ignore = cfg.new.ignore; ignore = cfg.new.ignore;
tags = cfg.new.tags; tags = cfg.new.tags;
@ -86,9 +90,7 @@ in
extraConfig = mkOption { extraConfig = mkOption {
type = types.attrsOf (types.attrsOf types.str); type = types.attrsOf (types.attrsOf types.str);
default = { default = {};
maildir = { synchronize_flags = "true"; };
};
description = '' description = ''
Options that should be appended to the notmuch configuration file. 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.
'';
};
};
}; };
}; };