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:
parent
9318bd3b0d
commit
c21b69e73e
1 changed files with 15 additions and 3 deletions
|
@ -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.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue