summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--email.nix8
-rw-r--r--mailcap2
-rw-r--r--packages.nix1
3 files changed, 10 insertions, 1 deletions
diff --git a/email.nix b/email.nix
index b8d9e3f..da1c3e0 100644
--- a/email.nix
+++ b/email.nix
@@ -12,6 +12,7 @@ in
primary = true;
realName = "Ben Sima";
address = "ben@bsima.me";
+ alot.sendMailCommand = "${homedir}/bin/sendmail";
folders = {
inbox = "INBOX";
};
@@ -120,6 +121,13 @@ in
extraConfig = builtins.readFile ./afew.ini;
};
+ alot = {
+ enable = true;
+ extraConfig = ''
+ theme = solarized_light
+ '';
+ };
+
mbsync = {
enable = true;
};
diff --git a/mailcap b/mailcap
index a67c182..5cce027 100644
--- a/mailcap
+++ b/mailcap
@@ -1,4 +1,4 @@
-text/html; w3m -I %{charset} -T text/html; copiousoutput;
+text/html; w3m -dump -o document_charset=%{charset} '%s'; nametemplate=%s.html; copiousoutput
application/pdf; apvlv %s
image/*; feh %s
application/msword; antiword %s; copiousoutput
diff --git a/packages.nix b/packages.nix
index e2b5242..6804a72 100644
--- a/packages.nix
+++ b/packages.nix
@@ -35,6 +35,7 @@ tmux
tree
unrar
urlscan
+w3m
xterm
yank
youtube-dl