1
0
Fork 0

feat: aerc

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-12-06 22:08:38 -06:00
parent 3a84561dbc
commit afcee0a463
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{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 = {
gmail = {
source = "imaps://john.olheiser%40gmail.com@imap.gmail.com:993";
source-cred-cmd = "git config --get sendemail.smtpPass";
outgoing = "smtps://john.olheiser%40gmail.com@smtp.gmail.com:587";
outgoing-cred-cmd = "git config --get sendemail.smtpPass";
default = "INBOX";
from = ''"John Olheiser" <john.olheiser@gmail.com>'';
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");
};
};
}

View File

@ -4,6 +4,7 @@
...
}: {
imports = [
./aerc.nix
./bat.nix
./bottom.nix
./eza.nix