Replace isync with isync-oauth2 in goimapnotify

This commit is contained in:
coolneng 2022-02-04 10:00:04 +01:00
parent 7e928be885
commit 877bf1fef9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@ with pkgs;
let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: [ epkgs.vterm ]));
isync-oauth2 = isync.overrideAttrs
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });
in {
# Upgrade Doom Emacs daily
@ -51,7 +53,7 @@ in {
systemd.user.services.goimapnotify-ugent = {
description = "Sync UGent mail using IMAP IDLE";
wantedBy = [ "default.target" ];
path = [ goimapnotify pass-wayland isync notmuch python39 gnupg ];
path = [ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg ];
script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
'';
@ -66,7 +68,7 @@ in {
systemd.user.services.goimapnotify-gmail = {
description = "Sync gmail mail using IMAP IDLE";
wantedBy = [ "default.target" ];
path = [ goimapnotify pass-wayland isync notmuch ];
path = [ goimapnotify pass-wayland isync-oauth2 notmuch ];
script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
'';