Replace isync with isync-oauth2 in goimapnotify
This commit is contained in:
parent
7e928be885
commit
877bf1fef9
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue