Replace imapnotify with goimapnotify
This commit is contained in:
parent
c6853bf1a1
commit
0d86259eda
|
@ -41,4 +41,26 @@
|
||||||
startAt = "18:00:00";
|
startAt = "18:00:00";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Sync mail using IDLE
|
||||||
|
systemd.user.services.goimapnotify-uni = {
|
||||||
|
description = "Sync uni mail using IMAP IDLE";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
path = with pkgs; [ goimapnotify pass-wayland isync notmuch ];
|
||||||
|
script = ''
|
||||||
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/uni.conf
|
||||||
|
'';
|
||||||
|
serviceConfig.Type = "simple";
|
||||||
|
after = [ "network.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.services.goimapnotify-gmail = {
|
||||||
|
description = "Sync gmail mail using IMAP IDLE";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
path = with pkgs; [ goimapnotify pass-wayland isync notmuch ];
|
||||||
|
script = ''
|
||||||
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
||||||
|
'';
|
||||||
|
serviceConfig.Type = "simple";
|
||||||
|
after = [ "network.target" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
isync
|
isync
|
||||||
notmuch
|
notmuch
|
||||||
msmtp
|
msmtp
|
||||||
imapnotify
|
|
||||||
w3m
|
w3m
|
||||||
urlscan
|
urlscan
|
||||||
# Media
|
# Media
|
||||||
|
|
Loading…
Reference in New Issue