Fix doom purge service

This commit is contained in:
coolneng 2020-12-22 00:26:04 +01:00
parent 53e844883d
commit dfbdffb6a1
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,9 @@
description = "Purge Doom Emacs"; description = "Purge Doom Emacs";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = with pkgs; [ bash emacsPgtkGcc git coreutils ]; path = with pkgs; [ bash emacsPgtkGcc 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 -y purge"
'';
serviceConfig = { Type = "oneshot"; }; serviceConfig = { Type = "oneshot"; };
}; };