mirror of
https://github.com/nix-community/home-manager
synced 2024-11-17 16:49:45 +01:00
mbsync: per-account groups can have additional patterns
Gave the `accounts.email.accounts.<name>.mbsync.groups.<gname>.channel.<cname>` set a `patterns` option, which will allow for greater customization and filtering of the master maildir to sync to the slave maildir.
This commit is contained in:
parent
2ce482d187
commit
c62cb82e65
1 changed files with 13 additions and 0 deletions
|
@ -76,6 +76,19 @@ let
|
|||
<literal>INBOX</literal>.
|
||||
'';
|
||||
};
|
||||
|
||||
patterns = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
example = [ "INBOX" ];
|
||||
description = ''
|
||||
Instead of synchronizing <emphasis>just</emphasis> the mailboxes that
|
||||
match the <literal>masterPattern</literal>, use it as a prefix which is
|
||||
not matched against the patterns, and is not affected by mailbox list
|
||||
overrides.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue