summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/mail/default.nix16
1 files changed, 13 insertions, 3 deletions
diff --git a/home/mail/default.nix b/home/mail/default.nix
index febd75f..6fbfdb4 100644
--- a/home/mail/default.nix
+++ b/home/mail/default.nix
@@ -49,11 +49,21 @@ with lib; {
maildir.path = "";
folders.inbox = "";
- msmtp.enable = true;
+ msmtp = {
+ enable = true;
+
+ extraConfig = {
+ # con nixpkgs#gnutls: p11tool --login --list-privkeys
+ auth = "off";
+ tls_key_file = "pkcs11:serial=26902048;id=%01";
+ tls_cert_file = "${config.local.pki.byPath."root.mail.larsa".cert}";
+ };
+ };
+
neomutt.enable = true;
imap = {
- host = "badhost";
+ host = "badhost"; # Evaluación de home falla sin esto, revisar si ya lo arreglaron
tls = {
enable = false;
@@ -66,7 +76,7 @@ with lib; {
tls = {
enable = true;
- useStartTls = true;
+ useStartTls = false;
};
};
};