From fba3f5df5425b6dfa233dbf08b49f255342fbc8c Mon Sep 17 00:00:00 2001 From: FredzyW Date: Mon, 15 Apr 2024 18:12:17 +0200 Subject: [PATCH] Added aerc config --- config/home.nix | 1 + moduler/common/aerc.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 moduler/common/aerc.nix diff --git a/config/home.nix b/config/home.nix index e727c05..a017cab 100644 --- a/config/home.nix +++ b/config/home.nix @@ -21,6 +21,7 @@ ../moduler/common/lazygit.nix ../moduler/common/spotifyd.nix ../moduler/common/ssh.nix + ../moduler/common/aerc.nix ]; nixpkgs = { diff --git a/moduler/common/aerc.nix b/moduler/common/aerc.nix new file mode 100644 index 0000000..0d59ddd --- /dev/null +++ b/moduler/common/aerc.nix @@ -0,0 +1,18 @@ + +{ pkgs, lib, ... }: +{ + programs.aerc = { + enable = true; + extraConfig = { + filters = { + "text/plain"="colorize"; + "text/calendar"="calendar"; + "message/delivery-status"="colorize"; + "message/rfc822"="colorize"; + "text/html"="pandoc -f html -t plain | colorize"; + "image/*"="feh -"; + "application/pdf"="zathura -"; + }; + }; + }; +}