Migrate mail client to Mu4e

This commit is contained in:
coolneng 2022-09-18 18:49:01 +02:00
parent 9f272830b3
commit f115dd4294
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 5 additions and 9 deletions

View File

@ -56,8 +56,7 @@ in {
systemd.user.services.goimapnotify-ugent = { systemd.user.services.goimapnotify-ugent = {
description = "Sync UGent mail using IMAP IDLE"; description = "Sync UGent mail using IMAP IDLE";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = path = [ goimapnotify pass-wayland isync-oauth2 mu python39 gnupg nix ];
[ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg nix ];
script = '' script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
''; '';
@ -73,7 +72,7 @@ in {
systemd.user.services.goimapnotify-gmail = { systemd.user.services.goimapnotify-gmail = {
description = "Sync gmail mail using IMAP IDLE"; description = "Sync gmail mail using IMAP IDLE";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ goimapnotify pass-wayland isync-oauth2 notmuch ]; path = [ goimapnotify pass-wayland isync-oauth2 mu ];
script = '' script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
''; '';
@ -89,7 +88,7 @@ in {
systemd.user.services.goimapnotify-disroot = { systemd.user.services.goimapnotify-disroot = {
description = "Sync disroot mail using IMAP IDLE"; description = "Sync disroot mail using IMAP IDLE";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ goimapnotify pass-wayland isync-oauth2 notmuch ]; path = [ goimapnotify pass-wayland isync-oauth2 mu ];
script = '' script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/disroot.conf ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/disroot.conf
''; '';

View File

@ -6,7 +6,7 @@ let
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
(epkgs: with epkgs; [ vterm pdf-tools ])); (epkgs: with epkgs; [ vterm pdf-tools ]));
isync-oauth2 = isync.overrideAttrs isync-oauth2 = isync.overrideAttrs
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; }); (div: rec { buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ]; });
mpv-sponsorblock = mpv-sponsorblock =
(mpv-with-scripts.override { scripts = [ mpvScripts.sponsorblock ]; }); (mpv-with-scripts.override { scripts = [ mpvScripts.sponsorblock ]; });
@ -67,12 +67,9 @@ in {
bc bc
citrix_workspace citrix_workspace
# Mail stack # Mail stack
neomutt mu
isync-oauth2 isync-oauth2
notmuch
msmtp msmtp
w3m
urlscan
# Media # Media
gimp gimp
mpv-sponsorblock mpv-sponsorblock