fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Ryan Lahfanotmuch & neomutt: Control virtualboxes being set in NeoMutt for Notmuch integration (#3143)0263da49

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