diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-10 02:05:18 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-10 02:05:18 +0530 |
| commit | bf7a0f704a7ffc64d77f53d940f49f0bd9d4d35e (patch) | |
| tree | 596912421d29f6e58a9a45108df52cb4e1e68876 /modules/private/email.example.nix | |
| parent | ee32d0d0813f9870d89fb7d821633fd8b4a9987a (diff) | |
| download | home-manager-config-bf7a0f704a7ffc64d77f53d940f49f0bd9d4d35e.tar.gz home-manager-config-bf7a0f704a7ffc64d77f53d940f49f0bd9d4d35e.zip | |
feat: using neomutt instead of meli for the tui email client
using a private module that stores the private config options for the user which are not to be pushed to the public repo
Diffstat (limited to 'modules/private/email.example.nix')
| -rw-r--r-- | modules/private/email.example.nix | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/modules/private/email.example.nix b/modules/private/email.example.nix index ae3b475..0e35e26 100644 --- a/modules/private/email.example.nix +++ b/modules/private/email.example.nix @@ -1,16 +1,14 @@ { config, ... }: -let - mailDir = "${config.home.homeDirectory}/.local/mail"; -in { - accounts.email.accounts = { + config.accounts.email.accounts = { "example" = { realName = "Example User"; address = "user@example.com"; userName = "user@example.com"; passwordCommand = "${config.programs.gopass.package}/bin/gopass show -o mail/example"; flavor = "gmail.com"; + primary = true; mbsync = { enable = true; @@ -28,16 +26,4 @@ in imapnotify.enable = false; }; }; - - # Mbsync config - programs.mbsync = { - enable = true; - directory = mailDir; - }; - - # Notmuch config - programs.notmuch = { - enable = true; - database.path = "${mailDir}/.notmuch"; - }; } |
