Things
This commit is contained in:
parent
aa7650e975
commit
7d02c94366
13 changed files with 117 additions and 10 deletions
45
users/profiles/mails/default.nix
Normal file
45
users/profiles/mails/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue