1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

notmuch: inline notmuch-accounts.nix

Having it in a separate file is a bit unnecessary.
This commit is contained in:
Robert Helgesson 2020-09-24 20:02:49 +02:00
parent 690d93c22a
commit 43ab2f40b9
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 4 additions and 6 deletions

View file

@ -1,5 +0,0 @@
{ lib, ... }:
{
options.notmuch = { enable = lib.mkEnableOption "notmuch indexing"; };
}

View file

@ -145,7 +145,10 @@ in {
};
accounts.email.accounts = mkOption {
type = with types; attrsOf (submodule (import ./notmuch-accounts.nix));
type = with types;
attrsOf (submodule {
options.notmuch.enable = mkEnableOption "notmuch indexing";
});
};
};