home-manager | started config mail (just notmuch for now)

This commit is contained in:
Don Harper 2023-10-12 22:21:40 -05:00
parent 4aea0f3da9
commit fe1c6e4387
2 changed files with 27 additions and 0 deletions

26
home/mail.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, pkgs, ... }:
{
accounts.email.accounts = {
"don@donharper.org" = {
primary = true;
realName = "Don Harper";
userName = "don";
address = "don@donharper.org";
#secondaries = [ "duck@duckland.org" "duckunix@gmail.com" ];
notmuch.enable = true;
};
};
programs.notmuch = {
enable = true;
new = {
tags = [ "unread" ];
ignore = [ ".mbsyncstate" ".uidvalidity" "Sent Mail" "Trash" ];
};
extraConfig = {
database = {
path = "/home/don/Mail";
};
};
};
}

View file

@ -9,6 +9,7 @@
./lf.nix
./liquidprompt.nix
./listadmin.nix
./mail.nix
./neovim.nix
./newsboat.nix
./taskwarrior.nix