From 01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:02:29 +0530 Subject: refactor: organized the modules into better categories Instead of lumping everything in modules/programs we are separating them into separate directories in modules/ --- modules/programs/email/default.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 modules/programs/email/default.nix (limited to 'modules/programs/email/default.nix') 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; - }; -} -- cgit v1.2.3