aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-03 11:21:46 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-03 11:22:02 +0530
commit26343d2eef0e8892cecb1645935294e221e9f1a7 (patch)
treec3a1678699418d312b0cae3baf94e12844f1ab3f
parentb83f4b93e48797264859804de3932abbacabe566 (diff)
downloadnixos-config-26343d2eef0e8892cecb1645935294e221e9f1a7.tar.gz
nixos-config-26343d2eef0e8892cecb1645935294e221e9f1a7.zip
Email config change
-rw-r--r--config/zsh/zshrc2
-rw-r--r--configuration.nix2
-rw-r--r--modules/email.home/default.nix2
-rw-r--r--modules/email.home/query-map.conf2
4 files changed, 4 insertions, 4 deletions
diff --git a/config/zsh/zshrc b/config/zsh/zshrc
index ffa9f30..32392ab 100644
--- a/config/zsh/zshrc
+++ b/config/zsh/zshrc
@@ -2,7 +2,7 @@ autoload -U colors && colors;
setopt auto_cd;
setopt inc_append_history;
-export LESS=--chop-long-lines # less no wrapping
+export LESS="-R --chop-long-lines" # less no wrapping
export SAVEHIST=10000
# export HISTSIZE=50000
diff --git a/configuration.nix b/configuration.nix
index e125469..e581422 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ pkgs, ... }:
{
imports = [
diff --git a/modules/email.home/default.nix b/modules/email.home/default.nix
index f10e541..9f17fd9 100644
--- a/modules/email.home/default.nix
+++ b/modules/email.home/default.nix
@@ -46,7 +46,7 @@ in {
source = "notmuch://${maildir}";
outgoing = "gmi send -t -C ${work-maildir}";
query-map = "${./query-map.conf}";
- folders-sort = "Inbox,Unread,Important,_sent,_spam";
+ folders-sort = "Inbox,Unread,Important,Sent,_spam";
default = "INBOX";
copy-to = "Sent";
postpone = "[Gmail]/Drafts";
diff --git a/modules/email.home/query-map.conf b/modules/email.home/query-map.conf
index fe14b08..4c37dee 100644
--- a/modules/email.home/query-map.conf
+++ b/modules/email.home/query-map.conf
@@ -4,6 +4,6 @@ Unread=tag:inbox and tag:unread and not tag:spam
Important=tag:important and not tag:archived and not tag:deleted and not tag:spam
-_sent=tag:sent and not tag:archived not tag:deleted
+Sent=tag:sent and not tag:archived not tag:deleted
_spam=tag:spam