From 270c52cf6f06b590e6c3fc08512fac4d8a80c064 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 13 Jun 2019 10:24:53 -0700 Subject: add groq email --- groq.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'groq.nix') diff --git a/groq.nix b/groq.nix index f30d188..b5db56f 100644 --- a/groq.nix +++ b/groq.nix @@ -7,6 +7,30 @@ in imports = [ ./common.nix ]; + + accounts = { + email = { + maildirBasePath = "mail"; + accounts = { + "groq" = { + primary = true; + flavor = "gmail.com"; + realName = "Ben Sima"; + address = "bsima@groq.com"; + userName = "bsima@groq.com"; + mbsync = { + enable = true; + create = "both"; + expunge = "none"; + }; + notmuch.enable = true; + msmtp.enable = true; + passwordCommand = "secret-tool lookup email bsima@groq.io"; + }; + }; + }; + }; + programs = { emacs = { enable = true; @@ -28,5 +52,21 @@ in ''; }; + mbsync.enable = true; + msmtp.enable = true; + + notmuch = { + enable = true; + new.tags = ["new"]; + hooks = {}; + extraConfig.search.exclude_tags = "deleted;spam;"; + }; + + alot = { + enable = true; + extraConfig = '' + theme = solarized_light + ''; + }; }; } -- cgit v1.2.3