From 708616b7b25503260e989c1ab7e3a72ad50e6841 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 9 Jan 2022 17:46:44 +0100 Subject: [PATCH] working on mail --- nixos/system/desktop/mail-stuff.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nixos/system/desktop/mail-stuff.nix b/nixos/system/desktop/mail-stuff.nix index a52f07e..437a508 100644 --- a/nixos/system/desktop/mail-stuff.nix +++ b/nixos/system/desktop/mail-stuff.nix @@ -172,6 +172,7 @@ in set nm_default_uri="notmuch://$HOME/Maildir" # path to the maildir set nm_record = yes set nm_record_tags = "-inbox me archive" + set nm_query_type = "threads" # we are not only interessted in messages set virtual_spoolfile=yes # enable virtual folders set sendmail=${ @@ -302,6 +303,23 @@ in '' }" + bind index i noop + bind pager i noop + bind index I noop + bind pager I noop + # notmuch config set query.chat + # notmuch search query:chat + # parse From and To, collect all mail addresses and remove my own mail lists, and create a query from it + #From: + #To: + macro index,pager I "${ + pkgs.writers.writeDash "show_query" '' + cat + '' + }" + + + # top index bar in email view set pager_index_lines=7 # top_index_bar toggle