From 09448958907d1156d05122f1152cdab0adba2253 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 18 Sep 2022 18:49:01 +0200 Subject: [PATCH] Migrate mail client to Mu4e --- modules/periodic.nix | 7 +++---- modules/software.nix | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index 8f3ad35..5b00ace 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -56,8 +56,7 @@ in { systemd.user.services.goimapnotify-ugent = { description = "Sync UGent mail using IMAP IDLE"; wantedBy = [ "default.target" ]; - path = - [ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg nix ]; + path = [ goimapnotify pass-wayland isync-oauth2 mu python39 gnupg nix ]; script = '' ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf ''; @@ -73,7 +72,7 @@ in { systemd.user.services.goimapnotify-gmail = { description = "Sync gmail mail using IMAP IDLE"; wantedBy = [ "default.target" ]; - path = [ goimapnotify pass-wayland isync-oauth2 notmuch ]; + path = [ goimapnotify pass-wayland isync-oauth2 mu ]; script = '' ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf ''; @@ -89,7 +88,7 @@ in { systemd.user.services.goimapnotify-disroot = { description = "Sync disroot mail using IMAP IDLE"; wantedBy = [ "default.target" ]; - path = [ goimapnotify pass-wayland isync-oauth2 notmuch ]; + path = [ goimapnotify pass-wayland isync-oauth2 mu ]; script = '' ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/disroot.conf ''; diff --git a/modules/software.nix b/modules/software.nix index 8775d28..f0c48bc 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -6,7 +6,7 @@ let emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages (epkgs: with epkgs; [ vterm pdf-tools ])); 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-with-scripts.override { scripts = [ mpvScripts.sponsorblock ]; }); @@ -67,9 +67,8 @@ in { bc citrix_workspace # Mail stack - neomutt + mu isync-oauth2 - notmuch msmtp w3m urlscan