allow viewing html emails in the terminal

This commit is contained in:
Cyryl Płotnicki 2022-03-27 10:28:47 +01:00
parent 2f3ebf98de
commit c994dc0c57

View file

@ -63,6 +63,10 @@ in {
services.mbsync.enable = true;
home.file.".mailcap".text = ''
text/html; ${pkgs.w3m}/bin/w3m -dump -o document_charset=%{charset} '%s'; nametemplate=%s.html; copiousoutput
'';
systemd.user.services."proton-bridge" = {
Unit.Description = "Bridge to ProtonMail";
Install.WantedBy = [ "default.target" "mbsync.service" ];