Update Doom Emacs weekly
This commit is contained in:
parent
038d45e154
commit
b21acadd8e
|
@ -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" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue