diff --git a/modules/programs/mail/default.nix b/modules/programs/mail/default.nix index c0aa377..a60c665 100644 --- a/modules/programs/mail/default.nix +++ b/modules/programs/mail/default.nix @@ -2,6 +2,7 @@ username, mail, domain, + pkgs, ... }: { programs.mbsync = { @@ -204,4 +205,7 @@ macro index,pager Ma ";=Archive" "move mail to archive" macro index,pager Ca ";=Archive" "copy mail to archive"''; }; + home.file.".mailcap".text = '' + text/html; ${pkgs.lynx}/bin/lynx -dump %s; copiousoutput; nametemplate=%s.html + ''; }