Run a mail sync operation periodically

This commit is contained in:
coolneng 2022-09-24 12:43:43 +02:00
parent ac978985c7
commit 6556eda0be
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 13 additions and 0 deletions

View File

@ -111,6 +111,19 @@ in {
after = [ "network-online.target" ]; 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 # HACK Change home partition permissions for mopidy
systemd.services.chmod-home = { systemd.services.chmod-home = {
description = "Change home partition permissions for Mopidy"; description = "Change home partition permissions for Mopidy";