Update Doom Emacs weekly

This commit is contained in:
coolneng 2022-09-10 06:15:01 +02:00
parent 038d45e154
commit b21acadd8e
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ let
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; }); (div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });
in { in {
# Upgrade Doom Emacs daily # Upgrade Doom Emacs weekly
systemd.user.services.doom-upgrade = { systemd.user.services.doom-upgrade = {
description = "Upgrade Doom Emacs"; description = "Upgrade Doom Emacs";
path = [ bash emacs-vterm git coreutils ]; path = [ bash emacs-vterm git coreutils ];
@ -17,7 +17,7 @@ in {
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade" ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade"
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
startAt = "22:00:00"; startAt = "Mon 22:00:00";
after = [ "network-online.target" ]; after = [ "network-online.target" ];
}; };