fork/home-manager
git clone https://git.julia.blue/fork/home-manager
75790441
master
1{ config , lib , ...} : 2 3with lib ; 4 5{ 6options . getmail = { 7enable = mkEnableOption "the getmail mail retriever for this account" ; 8 9destinationCommand = mkOption { 10type = types . nullOr types . str ; 11default = null ; 12example = "\${pkgs.maildrop}/bin/maildrop" ; 13description = '' 14Specify a command delivering the incoming mail to your maildir. 15'' ; 16}; 17 18mailboxes = mkOption { 19type = types . nonEmptyListOf types . str ; 20default = [ ]; 21example = [ "INBOX" "INBOX.spam" ]; 22description = '' 23A non-empty list of mailboxes. To download all mail you can 24use the `ALL` mailbox. 25'' ; 26}; 27 28delete = mkOption { 29type = types . bool ; 30default = false ; 31description = '' 32Enable if you want to delete read messages from the server. Most 33users should either enable `delete` or disable 34`readAll`. 35'' ; 36}; 37 38readAll = mkOption { 39type = types . bool ; 40default = true ; 41description = '' 42Enable if you want to fetch all, even the read messages from the 43server. Most users should either enable `delete` or 44disable `readAll`. 45'' ; 46}; 47 48}; 49}