summaryrefslogtreecommitdiff
path: root/user-profiles/feeds
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles/feeds')
-rw-r--r--user-profiles/feeds/module.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/user-profiles/feeds/module.nix b/user-profiles/feeds/module.nix
index de1a65c6..adfc52a2 100644
--- a/user-profiles/feeds/module.nix
+++ b/user-profiles/feeds/module.nix
@@ -167,6 +167,7 @@ let
167 } '' 167 } ''
168 mkdir -p $out/bin 168 mkdir -p $out/bin
169 makeWrapper ${pkgs.alot}/bin/alot $out/bin/alot-feeds \ 169 makeWrapper ${pkgs.alot}/bin/alot $out/bin/alot-feeds \
170 --prefix MAILCAPS : ${alotMailcaps} \
170 --add-flags --config=${alotConfig} \ 171 --add-flags --config=${alotConfig} \
171 --add-flags --notmuch-config=${configPath} 172 --add-flags --notmuch-config=${configPath}
172 173
@@ -182,6 +183,9 @@ let
182 realname = notmuchIni.user.name; 183 realname = notmuchIni.user.name;
183 address = notmuchIni.user.primary_email; 184 address = notmuchIni.user.primary_email;
184 } "substituteAll ${./alot.config} $out"; 185 } "substituteAll ${./alot.config} $out";
186 alotMailcaps = pkgs.writeText "mailcaps" ''
187 text/html; ${pkgs.lynx}/bin/lynx -dump -dont_wrap_pre "%s"; nametemplate=%s.html; copiousoutput
188 '';
185in { 189in {
186 config = { 190 config = {
187 home.packages = [ immWrapped notmuchWrapped pkgs.notmuch.man alotWrapped ]; 191 home.packages = [ immWrapped notmuchWrapped pkgs.notmuch.man alotWrapped ];