2022-01-25 09:01:16 +00:00
|
|
|
{ pkgs, config, lib, ... }:{
|
|
|
|
# accounts.email.maildirBasePath = "Mailsdir";
|
|
|
|
# accounts.email.accounts = {
|
|
|
|
# "alexandre" = rec {
|
|
|
|
# primary = true;
|
|
|
|
# address = "alexandre@dri.fr";
|
|
|
|
# userName = "1847_alexandre";
|
|
|
|
# flavor = "plain";
|
|
|
|
# folders = {
|
|
|
|
# inbox = "INBOX";
|
|
|
|
# trash = "Junk";
|
|
|
|
# };
|
|
|
|
# imap = {
|
|
|
|
# host = "imap.dri.fr";
|
|
|
|
# tls.enable = false;
|
|
|
|
# };
|
|
|
|
# smtp = {
|
|
|
|
# host = "smtp.dri.fr";
|
|
|
|
# port = 587;
|
|
|
|
# tls.enable = false;
|
|
|
|
# };
|
|
|
|
# passwordCommand = "pass email/alexandre";
|
|
|
|
# mbsync.enable = true;
|
|
|
|
# mbsync.create = true;
|
|
|
|
# msmtp.enable = true;
|
|
|
|
# msmtp.extraConfig = ''
|
|
|
|
# auth plain
|
|
|
|
# '';
|
|
|
|
# };
|
|
|
|
# };
|
2021-12-17 14:12:33 +00:00
|
|
|
programs.msmtp.enable = true;
|
2022-01-25 09:01:16 +00:00
|
|
|
xdg.configFile = {
|
|
|
|
"msmtp/config".source= ./configs/msmtp_config;
|
2021-12-17 14:12:33 +00:00
|
|
|
};
|
|
|
|
}
|