This commit is contained in:
Andrea Ciceri 2021-10-28 12:53:35 +02:00
parent aa7650e975
commit 7d02c94366
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
13 changed files with 117 additions and 10 deletions

View file

@ -0,0 +1,45 @@
{ pkgs, lib, ... }:
let
maildir = "mail";
in
{
programs.msmtp.enable = true; # For sending emails
# For fetching emails
accounts.email.maildirBasePath = maildir;
programs.mbsync = {
enable = true;
};
# For email browsing, tagging, and searching
programs.notmuch.enable = true;
accounts.email.accounts = {
personal = {
address = "andrea.ciceri@autistici.org";
#gpg = {
# key = "";
# signByDefault = true;
#};
imap.host = "mail.autistici.org";
mbsync = {
enable = true;
create = "maildir";
};
msmtp.enable = true;
notmuch.enable = true;
primary = true;
realName = "Andrea Ciceri";
#signature = {
# text = ''
# '';
# showSignature = "append";
#};
passwordCommand = "pass show autistici/password";
smtp = {
host = "smtp.autistici.org";
};
userName = "andrea.ciceri@autistici.org";
};
};
}