Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102{ pkgs, config, lib, ...}:{ targets.darwin.defaults = { # Remember the fallen "com.apple.mail" = { # UserHeaders = "{ \"X-Clacks-Overhead\" = \"GNU Terry Pratchett\"; }"; }; };
programs.himalaya = { enable = true; }; # programs.mbsync.enable = true; programs.msmtp.enable = true; # programs.notmuch.enable = true;
programs.aerc = { enable = false; extraConfig = { general.unsafe-accounts-conf = true;
filters = { "text/plain" = "colorize"; };
ui = { threading-enabled = true; }; }; };
accounts.email.accounts."hauleth" = { realName = "Łukasz Niemier"; userName = "hauleth"; address = "~@hauleth.dev"; # aliases = [ # "#@hauleth.dev" # ]; primary = true;
passwordCommand = "op item get i6gyiq3aro4lp2ys5xygfb7uwu --field password";
# mbsync.enable = true; # notmuch.enable = true; aerc = { enable = true; extraAccounts = { default = "INBOX"; copy-to = "INBOX"; folders-sort = "INBOX,Draft"; signature-file = toString ( pkgs.writeTextFile { name = "hauleth-signature"; text = config.accounts.email.accounts.hauleth.signature.text; } ); }; }; himalaya = { enable = false; settings = { folder.aliases = { inbox = "INBOX"; sent = "Sent Items"; trash = "Deleted Items"; }; }; }; msmtp.enable = true;
signature = { showSignature = "append";
text = '' Hauleth ~@hauleth.dev ''; };
# TODO: Migrate to JMAP imap = { host = "mail.hauleth.dev"; port = 993; };
jmap = { host = "mail.hauleth.dev"; };
smtp = { host = "mail.hauleth.dev"; port = 465; # tls = true; }; };}