Reindex files in doom upgrade service

This commit is contained in:
coolneng 2020-12-01 14:45:07 +01:00
parent 3f63234965
commit 112593ef31
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,10 @@
description = "Upgrade Doom Emacs";
wantedBy = [ "default.target" ];
path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
script =
"${pkgs.bash}/bin/bash -c '/home/coolneng/.emacs.d/bin/doom -y upgrade'";
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 sync"
'';
serviceConfig = { Type = "oneshot"; };
};