Adapt doom-upgrade and doom-purge to upstream

This commit is contained in:
coolneng 2022-06-21 22:58:36 +02:00
parent 64c42b5938
commit 28876dd62d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ in {
description = "Upgrade Doom Emacs";
path = [ bash emacs-vterm git coreutils ];
script = ''
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade"
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade"
'';
serviceConfig.Type = "oneshot";
startAt = "22:00:00";
@ -26,7 +26,7 @@ in {
description = "Purge Doom Emacs";
path = [ bash emacs-vterm git coreutils ];
script = ''
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge"
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! purge"
'';
serviceConfig.Type = "oneshot";
startAt = "*-*-13 20:00:00";