mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
notmuch: add maildir.synchronizeFlags
option
This commit is contained in:
parent
9318bd3b0d
commit
c21b69e73e
1 changed files with 15 additions and 3 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue