From b21acadd8e2fa4bc2c08b3a16b6343f70761b599 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 10 Sep 2022 06:15:01 +0200 Subject: [PATCH] Update Doom Emacs weekly --- modules/periodic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index 3c60924..8f3ad35 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -9,7 +9,7 @@ let (div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; }); in { - # Upgrade Doom Emacs daily + # Upgrade Doom Emacs weekly systemd.user.services.doom-upgrade = { description = "Upgrade Doom Emacs"; path = [ bash emacs-vterm git coreutils ]; @@ -17,7 +17,7 @@ in { ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade" ''; serviceConfig.Type = "oneshot"; - startAt = "22:00:00"; + startAt = "Mon 22:00:00"; after = [ "network-online.target" ]; };