From 6a5489131aef4de39b65ad3225ded77b790989d4 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 13 Jul 2023 18:40:24 +0800 Subject: [PATCH] users/foo-dogsquared: update personal email config --- .../foo-dogsquared/modules/email.nix | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/users/home-manager/foo-dogsquared/modules/email.nix b/users/home-manager/foo-dogsquared/modules/email.nix index adfd7f5f..04aefde4 100644 --- a/users/home-manager/foo-dogsquared/modules/email.nix +++ b/users/home-manager/foo-dogsquared/modules/email.nix @@ -19,9 +19,23 @@ foodogsquared at foodogsquared dot one ''; }; - passwordCommand = "gopass show work/websites/mailbox.org/foodogsquared@mailbox.org | head -n 1"; + passwordCommand = "gopass show personal/websites/mailbox.org/foodogsquared@mailbox.org | head -n 1"; - # GPG settings + # Set up the ingoing mails. + imap = { + host = "imap.mailbox.org"; + port = 993; + tls.enable = true; + }; + + # Set up the outgoing mails. + smtp = { + host = "smtp.mailbox.org"; + port = 465; + tls.enable = true; + }; + + # GPG settings... wablamo. gpg = { key = "0xADE0C41DAB221FCC"; encryptByDefault = false; @@ -35,7 +49,7 @@ let identitySettings = attrs: lib.mapAttrs' (setting: value: - lib.nameValuePair "mail.identity.id${id}.${setting}" value) + lib.nameValuePair "mail.identity.id_${id}.${setting}" value) attrs; in identitySettings {