Run a mail sync operation periodically
This commit is contained in:
parent
ac978985c7
commit
6556eda0be
|
@ -111,6 +111,19 @@ in {
|
|||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
# Do a full mail sync periodically
|
||||
systemd.user.services.periodic-mail-sync = {
|
||||
description = "Run a mail sync operation periodically";
|
||||
wantedBy = [ "default.target" ];
|
||||
path =
|
||||
[ pass-wayland isync-oauth2 mu procps emacs-vterm python39 gnupg nix ];
|
||||
script = ''
|
||||
/home/coolneng/.local/share/scripts/mail-sync -a
|
||||
'';
|
||||
after = [ "network-online.target" ];
|
||||
startAt = "*-*-* *:00,15,30,45:00";
|
||||
};
|
||||
|
||||
# HACK Change home partition permissions for mopidy
|
||||
systemd.services.chmod-home = {
|
||||
description = "Change home partition permissions for Mopidy";
|
||||
|
|
Loading…
Reference in New Issue