diff options
Diffstat (limited to 'modules/programs/email/default.nix')
| -rw-r--r-- | modules/programs/email/default.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/programs/email/default.nix b/modules/programs/email/default.nix deleted file mode 100644 index 3a57cf0..0000000 --- a/modules/programs/email/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -# email - Mbsync and notmuch mail synchronization -{ - config, - lib, - ... -}: - -let - mailDir = "${config.home.homeDirectory}/.local/share/mail"; -in -{ - options.programs.email = { - enable = lib.mkEnableOption "Email suite (mbsync + notmuch)"; - }; - - config = lib.mkIf config.programs.email.enable { - programs.mbsync.enable = true; - programs.notmuch.enable = true; - - accounts.email.maildirBasePath = mailDir; - - home.sessionVariables.MAILDIR = mailDir; - }; -} |
