2023-12-07 04:08:38 +00:00
|
|
|
{pkgs, ...}: {
|
|
|
|
programs.aerc = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = {
|
|
|
|
general = {
|
|
|
|
default-save-path = "~/Downloads";
|
|
|
|
pgp-provider = "gpg";
|
|
|
|
unsafe-accounts-conf = true;
|
|
|
|
};
|
|
|
|
ui = {
|
|
|
|
border-char-vertical = "│";
|
|
|
|
border-char-horizontal = "─";
|
|
|
|
styleset-name = "catppuccin-mocha";
|
|
|
|
spinner = "▰▱▱▱▱▱▱,▰▰▱▱▱▱▱,▰▰▰▱▱▱▱,▰▰▰▰▱▱▱,▰▰▰▰▰▱▱,▰▰▰▰▰▰▱,▰▰▰▰▰▰▰";
|
|
|
|
spinner-interval = "40ms";
|
|
|
|
};
|
|
|
|
filters = {
|
|
|
|
"text/html" = "html | colorize";
|
|
|
|
"text/plain" = "colorize";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
extraAccounts = {
|
2023-12-14 22:18:21 +00:00
|
|
|
fastmail = {
|
|
|
|
source = "imaps://john%40jolheiser.com@imap.fastmail.com:993";
|
2023-12-07 04:08:38 +00:00
|
|
|
source-cred-cmd = "git config --get sendemail.smtpPass";
|
2023-12-14 22:18:21 +00:00
|
|
|
outgoing = "smtps://john%40jolheiser.com@smtp.fastmail.com:465";
|
2023-12-07 04:08:38 +00:00
|
|
|
outgoing-cred-cmd = "git config --get sendemail.smtpPass";
|
|
|
|
default = "INBOX";
|
2023-12-14 22:18:21 +00:00
|
|
|
from = ''"John Olheiser" <john@jolheiser.com>'';
|
2023-12-07 04:08:38 +00:00
|
|
|
cache-headers = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
stylesets = {
|
|
|
|
catppuccin-mocha = builtins.readFile (pkgs.fetchFromGitHub {
|
|
|
|
owner = "catppuccin";
|
|
|
|
repo = "aerc";
|
|
|
|
rev = "c1f233bd22894d7ccf69846c3bd7bcd5af0fc2a2";
|
|
|
|
sha256 = "sha256-YJdNPROhwgge14O1zuGh/ZK/qjHDxi+xdAyPEIXRI9c=";
|
|
|
|
}
|
|
|
|
+ "/dist/catppuccin-mocha");
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|