{ inputs, ... }: { programs.aerc = { enable = true; extraConfig = { general.unsafe-accounts-conf = true; filters = { "text/plain" = "colorize"; "text/html" = "! w3m -I UTF-8 -T text/html"; }; }; }; accounts.email.accounts = { # very epic and cool email >:3c "hashcube.dev" = { enable = true; primary = true; realName = "Madeline Hashcube"; passwordCommand = "op item get \"Porkbun Email\" --fields label=password --reveal"; address = "madeline@hashcube.dev"; # because git userName = "madeline@hashcube.dev"; flavor = "plain"; aerc = { enable = true; }; folders = let prefix = "INBOX."; in { inbox = "INBOX"; sent = "${prefix}Sent"; trash = "${prefix}Trash"; }; smtp = { host = "smtp.porkbun.com"; port = 465; tls.enable = true; }; imap = { host = "imap.porkbun.com"; port = 993; tls.enable = true; }; }; /* * hashcubeProton = { enable = true; primary = false; realName = "Madeline Hashcube"; passwordCommand = "cat /home/hashcube/.protonmail-bridge-password"; address = "hashcube.dev@proton.me"; # because git userName = "hashcube.dev@proton.me"; flavor = "plain"; aerc = { enable = true; }; # it's local host because of protonmail-bridge smtp = { host = "127.0.0.1"; port = 1025; tls = { enable = true; useStartTls = true; certificatesFile = "/home/hashcube/cert.pem"; }; }; imap = { host = "127.0.0.1"; port = 1143; tls = { enable = true; useStartTls = true; certificatesFile = "/home/hashcube/cert.pem"; }; }; }; # */ }; /* * services.protonmail-bridge = { enable = true; package = inputs.protonmail-bridge.packages.x86_64-linux.default; }; # */ }