Remove redundant argument from doom systemd units

This commit is contained in:
coolneng 2021-01-18 10:56:05 +01:00
parent d8431fcd57
commit 912b9071a5
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
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 upgrade" ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom upgrade"
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom sync" ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom sync"
''; '';
serviceConfig = { Type = "oneshot"; }; serviceConfig = { Type = "oneshot"; };
@ -29,7 +29,7 @@
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 purge"
''; '';
serviceConfig = { Type = "oneshot"; }; serviceConfig = { Type = "oneshot"; };
}; };