fork/home-manager
git clone https://git.julia.blue/fork/home-manager
0263da49
master
1{ config , lib , ...} : 2with lib ; { 3options = { 4name = mkOption { 5type = types . str ; 6example = "My INBOX" ; 7default = "My INBOX" ; 8description = "Name to display" ; 9}; 10 11query = mkOption { 12type = types . str ; 13example = "tag:inbox" ; 14default = "tag:inbox" ; 15description = "Notmuch query" ; 16}; 17 18limit = mkOption { 19type = types . nullOr types . int ; 20example = 10 ; 21default = null ; 22description = "Restricts number of messages/threads in the result." ; 23}; 24 25type = mkOption { 26type = types . nullOr ( types . enum ([ "threads" "messages" ])); 27example = "threads" ; 28default = null ; 29description = 30"Reads all matching messages or whole-threads. The default is 'messages' or nm_query_type." ; 31}; 32}; 33}