Adapt doom-upgrade and doom-purge to upstream
This commit is contained in:
parent
64c42b5938
commit
28876dd62d
|
@ -14,7 +14,7 @@ in {
|
||||||
description = "Upgrade Doom Emacs";
|
description = "Upgrade Doom Emacs";
|
||||||
path = [ bash emacs-vterm git coreutils ];
|
path = [ bash emacs-vterm git coreutils ];
|
||||||
script = ''
|
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";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "22:00:00";
|
startAt = "22:00:00";
|
||||||
|
@ -26,7 +26,7 @@ in {
|
||||||
description = "Purge Doom Emacs";
|
description = "Purge Doom Emacs";
|
||||||
path = [ bash emacs-vterm git coreutils ];
|
path = [ bash emacs-vterm git coreutils ];
|
||||||
script = ''
|
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";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "*-*-13 20:00:00";
|
startAt = "*-*-13 20:00:00";
|
||||||
|
|
Loading…
Reference in New Issue