Replace isync with isync-oauth2 in goimapnotify
This commit is contained in:
parent
7e928be885
commit
877bf1fef9
|
@ -5,6 +5,8 @@ with pkgs;
|
||||||
let
|
let
|
||||||
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
|
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
|
||||||
(epkgs: [ epkgs.vterm ]));
|
(epkgs: [ epkgs.vterm ]));
|
||||||
|
isync-oauth2 = isync.overrideAttrs
|
||||||
|
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });
|
||||||
|
|
||||||
in {
|
in {
|
||||||
# Upgrade Doom Emacs daily
|
# Upgrade Doom Emacs daily
|
||||||
|
@ -51,7 +53,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 = [ goimapnotify pass-wayland isync notmuch python39 gnupg ];
|
path = [ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
|
||||||
'';
|
'';
|
||||||
|
@ -66,7 +68,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 notmuch ];
|
path = [ goimapnotify pass-wayland isync-oauth2 notmuch ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue