diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-03-20 03:24:54 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-03-20 03:24:54 +0300 |
commit | 1ea1b781a142a41b72aed4bfc408233732034241 (patch) | |
tree | ff1124f7c52fdfcaa864e6866c22a7acf68f7c55 /modules/common/profiles/headful.nix | |
parent | 2023-03-16 (diff) |
2023-03-20
Diffstat (limited to '')
-rw-r--r-- | modules/common/profiles/headful.nix | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/modules/common/profiles/headful.nix b/modules/common/profiles/headful.nix index 809605c..f2f2487 100644 --- a/modules/common/profiles/headful.nix +++ b/modules/common/profiles/headful.nix @@ -57,14 +57,23 @@ in { }; msmtp.enable = true; mu.enable = true; + thunderbird = { + enable = pkgs.stdenv.isLinux; + settings = id: { + "mail.identity.id_${id}.compose_html" = false; + "mail.identity.id_${id}.reply_on_top" = 0; + }; + }; } attrs ]; - pass = path: "${pkgs.pass}/bin/pass show ${path}"; - in { - shire = mkAccount { + pass = path: "${config.hm.programs.password-store.package}/bin/pass show ${path}"; + in rec { + shire = mkAccount rec { address = my.email; + aliases = [address "frodo@rohan.net" "azahi@shire.net"]; + realName = my.fullname; gpg = { inherit (my.pgp) key; signByDefault = true; @@ -73,19 +82,28 @@ in { primary = true; - imap.host = "shire.me"; - smtp.host = "shire.me"; - userName = "azahi@shire.me"; - passwordCommand = pass "email/shire.me/azahi"; + imap = { + host = "shire.net"; + port = 993; + tls.enable = true; + }; + smtp = { + host = "shire.net"; + port = 587; + tls.enable = true; + }; + userName = "azahi@shire.net"; + passwordCommand = pass "email/shire.net/azahi"; }; - yahoo = mkAccount { - address = "a.gondor@yahoo.com"; + yahoo = mkAccount rec { + address = "admin@yahoo.com"; + aliases = [address "admin@yahoo.com"]; + realName = "Багавиев Азат"; - imap.host = "imap.yahoo.com"; - smtp.host = "smtp.yahoo.com"; - userName = "a.gondor@yahoo.com"; - passwordCommand = pass "email/yahoo.com/a.gondor"; + flavor = "yahoo.com"; + userName = "admin@yahoo.com"; + passwordCommand = pass "email/yahoo.com/admin"; }; }; }; |