Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: aerc Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmVxRYMACgkQuFOtpdp7 v3pI5xAAibd1yRsZoH0nzDheYbMIZ4B3yoRcbOF09iPWBNgWX6WO9evBNqmxFKei nvWdn8tyWHH6cyouDHsJUjPwnyh5KoXyQkcY8I87a0aYgQFcrzA2MVhhWHmyGuhy 6E+TZ7cpFEgwIPEb475lhIFQpA+0bXSva+rUoRPkYDtbi36zIRpSKfQYijwUDgxO FsdfMkFZzbpSvU4zRoqRLYiW/XYdq85eLtztnxmyBamowQ0Pxznrk3IekLlt/mHT 5iSVuMK2stTf2zhABlLZRk8jeWVVosZ2SLggc4DnC15eyWTYtRFaDaPs5rytiW1X 1nSoeJivaQ9QvYM1JiFvtsEOj8TmTTM/2FXbxf90pV72r64WSokitWVE2nExY+hd kOm/ucPRGDnTEtS0Q1cTx9xhA7rARZjzi1b0pBCZPhL64JoAm/W1xouWqHpFuSm/ jTsrKL174J/x7Wi1IhpnHxXkdh26ftqcr/fIeC1PDj9yuMcmNmKjE/xtwZIq9lq5 Gm1hnZ6/iNvaJ2T2VG/FR5FdgbVxAvsKBUDmgaIHTivA1/VmWe14KQdenKzlikKe 5pNVK2POnCEV1XmNmpmGiIwTR7reZ+cppqH4IBap4G0cYzWBDIC1qx9AFydG3Oco lrT910aAi+Nulr8PNPhXrl2XNo4E8nT+ERMhaBV3j0YGZyYdSew= =c2GR -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
11 months ago
2 changed files, 44 additions(+), 0 deletions(-)
I apps/nogui/aerc.nix
diff --git a/apps/nogui/aerc.nix b/apps/nogui/aerc.nix
new file mode 100644
index 0000000000000000000000000000000000000000..33c89626616c64d1d1724e397f823c9545da2b3f
--- /dev/null
+++ b/apps/nogui/aerc.nix
@@ -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");
+    };
+  };
+}
M apps/nogui/default.nix -> apps/nogui/default.nix
diff --git a/apps/nogui/default.nix b/apps/nogui/default.nix
index 72f8d9eaa01f6f7f92408584871a3b2a43f33e21..9617a28d765afe25d236f6881c62a43e84efa1ef 100644
--- a/apps/nogui/default.nix
+++ b/apps/nogui/default.nix
@@ -4,6 +4,7 @@   config,
   ...
 }: {
   imports = [
+    ./aerc.nix
     ./bat.nix
     ./bottom.nix
     ./eza.nix