mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Finally trying mu4e again (geary had some issues)
This commit is contained in:
parent
a695931a3d
commit
00689dae5a
|
@ -49,7 +49,6 @@
|
||||||
xournalpp
|
xournalpp
|
||||||
glib
|
glib
|
||||||
gnome.nautilus
|
gnome.nautilus
|
||||||
gnome.geary
|
|
||||||
gnome.gnome-calendar
|
gnome.gnome-calendar
|
||||||
gnome.seahorse
|
gnome.seahorse
|
||||||
gnome.gnome-maps
|
gnome.gnome-maps
|
||||||
|
|
|
@ -1201,6 +1201,30 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
|
||||||
"k" 'evil-previous-visual-line
|
"k" 'evil-previous-visual-line
|
||||||
"q" 'helpful-kill-buffers)
|
"q" 'helpful-kill-buffers)
|
||||||
|
|
||||||
|
;;;------ helpful configuration ------;;;
|
||||||
|
(add-load-path! "~/.nix-profile/share/emacs/site-lisp/elpa/mu4e-1.10.7")
|
||||||
|
(require 'mu4e-contrib)
|
||||||
|
(setq mu4e-sent-folder "/Sent")
|
||||||
|
(setq mu4e-drafts-folder "/Drafts")
|
||||||
|
(setq mu4e-trash-folder "/Trash")
|
||||||
|
(map! :map 'mu4e-main-mode-map :desc "Jump to maildir" :ge "J" #'mu4e-search-maildir)
|
||||||
|
(map! :map 'mu4e-main-mode-map :desc "Next line" :ge "j" #'evil-next-visual-line)
|
||||||
|
(map! :map 'mu4e-main-mode-map :desc "Prev line" :ge "k" #'evil-previous-visual-line)
|
||||||
|
(map! :map 'mu4e-headers-mode-map :desc "Jump to maildir" :ge "J" #'mu4e-search-maildir)
|
||||||
|
(map! :map 'mu4e-headers-mode-map :desc "Next line" :ge "j" #'evil-next-visual-line)
|
||||||
|
(map! :map 'mu4e-headers-mode-map :desc "Prev line" :ge "k" #'evil-previous-visual-line)
|
||||||
|
(map! :map 'mu4e-view-mode-map :desc "Jump to maildir" :ge "J" #'mu4e-search-maildir)
|
||||||
|
(map! :map 'mu4e-view-mode-map :desc "Next line" :ge "j" #'evil-next-visual-line)
|
||||||
|
(map! :map 'mu4e-view-mode-map :desc "Prev line" :ge "k" #'evil-previous-visual-line)
|
||||||
|
(setq mu4e-headers-fields
|
||||||
|
'((:account-stripe . 1)
|
||||||
|
(:human-date . 12)
|
||||||
|
(:flags . 6)
|
||||||
|
(:maildir . 30)
|
||||||
|
(:from-or-to . 20)
|
||||||
|
(:subject)))
|
||||||
|
(load "~/.emacs.d/mu4e-private.el")
|
||||||
|
|
||||||
;;;-- Load emacs direnv;;;--
|
;;;-- Load emacs direnv;;;--
|
||||||
(require 'direnv)
|
(require 'direnv)
|
||||||
(direnv-mode)
|
(direnv-mode)
|
||||||
|
|
|
@ -40,26 +40,37 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nil
|
nil
|
||||||
nixfmt
|
nixfmt
|
||||||
git
|
git
|
||||||
file
|
file
|
||||||
nodejs
|
nodejs
|
||||||
wmctrl
|
wmctrl
|
||||||
jshon
|
jshon
|
||||||
aria
|
aria
|
||||||
hledger
|
hledger
|
||||||
hunspell hunspellDicts.en_US-large
|
hunspell hunspellDicts.en_US-large
|
||||||
pandoc
|
pandoc
|
||||||
nodePackages.mermaid-cli
|
nodePackages.mermaid-cli
|
||||||
(python3.withPackages (p: with p; [
|
(pkgs.mu.override { emacs = emacs29-pgtk; })
|
||||||
pandas
|
emacsPackages.mu4e
|
||||||
requests
|
isync
|
||||||
pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine
|
msmtp
|
||||||
pysocks
|
(python3.withPackages (p: with p; [
|
||||||
#pymupdf TODO pymupdf fails to build
|
pandas
|
||||||
markdown
|
requests
|
||||||
]))];
|
pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine
|
||||||
|
pysocks
|
||||||
|
#pymupdf TODO pymupdf fails to build
|
||||||
|
markdown
|
||||||
|
]))
|
||||||
|
];
|
||||||
|
|
||||||
|
services.mbsync = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.isync;
|
||||||
|
frequency = "*:0/5";
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".emacs.d/eaf" = {
|
home.file.".emacs.d/eaf" = {
|
||||||
source = "${eaf}";
|
source = "${eaf}";
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
- [[#tab-bar-configuration][Tab Bar Configuration]]
|
- [[#tab-bar-configuration][Tab Bar Configuration]]
|
||||||
- [[#focus-mode-configuration][Focus Mode Configuration]]
|
- [[#focus-mode-configuration][Focus Mode Configuration]]
|
||||||
- [[#helpful-mode-configuration][Helpful Mode Configuration]]
|
- [[#helpful-mode-configuration][Helpful Mode Configuration]]
|
||||||
|
- [[#mu4e-configuration][mu4e Configuration]]
|
||||||
- [[#eaf][EAF]]
|
- [[#eaf][EAF]]
|
||||||
- [[#direnv][Direnv]]
|
- [[#direnv][Direnv]]
|
||||||
- [[#projectile][Projectile]]
|
- [[#projectile][Projectile]]
|
||||||
|
@ -1417,6 +1418,32 @@ I don't have this active right now since it's kinda weird with pgtk...
|
||||||
"k" 'evil-previous-visual-line
|
"k" 'evil-previous-visual-line
|
||||||
"q" 'helpful-kill-buffers)
|
"q" 'helpful-kill-buffers)
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
** mu4e Configuration
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
;;;------ helpful configuration ------;;;
|
||||||
|
(add-load-path! "~/.nix-profile/share/emacs/site-lisp/elpa/mu4e-1.10.7")
|
||||||
|
(require 'mu4e-contrib)
|
||||||
|
(setq mu4e-sent-folder "/Sent")
|
||||||
|
(setq mu4e-drafts-folder "/Drafts")
|
||||||
|
(setq mu4e-trash-folder "/Trash")
|
||||||
|
(map! :map 'mu4e-main-mode-map :desc "Jump to maildir" :ge "J" #'mu4e-search-maildir)
|
||||||
|
(map! :map 'mu4e-main-mode-map :desc "Next line" :ge "j" #'evil-next-visual-line)
|
||||||
|
(map! :map 'mu4e-main-mode-map :desc "Prev line" :ge "k" #'evil-previous-visual-line)
|
||||||
|
(map! :map 'mu4e-headers-mode-map :desc "Jump to maildir" :ge "J" #'mu4e-search-maildir)
|
||||||
|
(map! :map 'mu4e-headers-mode-map :desc "Next line" :ge "j" #'evil-next-visual-line)
|
||||||
|
(map! :map 'mu4e-headers-mode-map :desc "Prev line" :ge "k" #'evil-previous-visual-line)
|
||||||
|
(map! :map 'mu4e-view-mode-map :desc "Jump to maildir" :ge "J" #'mu4e-search-maildir)
|
||||||
|
(map! :map 'mu4e-view-mode-map :desc "Next line" :ge "j" #'evil-next-visual-line)
|
||||||
|
(map! :map 'mu4e-view-mode-map :desc "Prev line" :ge "k" #'evil-previous-visual-line)
|
||||||
|
(setq mu4e-headers-fields
|
||||||
|
'((:account-stripe . 1)
|
||||||
|
(:human-date . 12)
|
||||||
|
(:flags . 6)
|
||||||
|
(:maildir . 30)
|
||||||
|
(:from-or-to . 20)
|
||||||
|
(:subject)))
|
||||||
|
(load "~/.emacs.d/mu4e-private.el")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** EAF
|
** EAF
|
||||||
EAF doesn't work on Wayland :(
|
EAF doesn't work on Wayland :(
|
||||||
|
@ -1728,7 +1755,7 @@ This section is the [[./init.el][init.el]] section, which controls which Doom mo
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
;;(mu4e +org)
|
(mu4e +org)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
|
@ -1841,26 +1868,37 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nil
|
nil
|
||||||
nixfmt
|
nixfmt
|
||||||
git
|
git
|
||||||
file
|
file
|
||||||
nodejs
|
nodejs
|
||||||
wmctrl
|
wmctrl
|
||||||
jshon
|
jshon
|
||||||
aria
|
aria
|
||||||
hledger
|
hledger
|
||||||
hunspell hunspellDicts.en_US-large
|
hunspell hunspellDicts.en_US-large
|
||||||
pandoc
|
pandoc
|
||||||
nodePackages.mermaid-cli
|
nodePackages.mermaid-cli
|
||||||
(python3.withPackages (p: with p; [
|
(pkgs.mu.override { emacs = emacs29-pgtk; })
|
||||||
pandas
|
emacsPackages.mu4e
|
||||||
requests
|
isync
|
||||||
pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine
|
msmtp
|
||||||
pysocks
|
(python3.withPackages (p: with p; [
|
||||||
#pymupdf TODO pymupdf fails to build
|
pandas
|
||||||
markdown
|
requests
|
||||||
]))];
|
pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine
|
||||||
|
pysocks
|
||||||
|
#pymupdf TODO pymupdf fails to build
|
||||||
|
markdown
|
||||||
|
]))
|
||||||
|
];
|
||||||
|
|
||||||
|
services.mbsync = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.isync;
|
||||||
|
frequency = "*:0/5";
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".emacs.d/eaf" = {
|
home.file.".emacs.d/eaf" = {
|
||||||
source = "${eaf}";
|
source = "${eaf}";
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
;;(mu4e +org)
|
(mu4e +org)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue