diff --git a/modules/programs/notmuch-accounts.nix b/modules/programs/notmuch-accounts.nix deleted file mode 100644 index fd4a811d7..000000000 --- a/modules/programs/notmuch-accounts.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ lib, ... }: - -{ - options.notmuch = { enable = lib.mkEnableOption "notmuch indexing"; }; -} diff --git a/modules/programs/notmuch.nix b/modules/programs/notmuch.nix index 9070d7556..b93cc6a5e 100644 --- a/modules/programs/notmuch.nix +++ b/modules/programs/notmuch.nix @@ -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"; + }); }; };