Remove wantedBy target in user timers

This commit is contained in:
coolneng 2021-05-06 01:58:43 +02:00
parent c360921b51
commit 093d8aa023
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 6 deletions

View File

@ -4,11 +4,9 @@
# Upgrade Doom Emacs daily
systemd.user.services.doom-upgrade = {
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"
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom sync"
'';
serviceConfig.Type = "oneshot";
startAt = "22:00:00";
@ -17,19 +15,17 @@
# Clean up Doom Emacs monthly
systemd.user.services.doom-purge = {
description = "Purge 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 purge"
'';
serviceConfig.Type = "oneshot";
startAt = "13-*-* 22:00:00";
startAt = "13-*-* 20:00:00";
};
# Upgrade Neovim plugins weekly
systemd.user.services.vim-plug-upgrade = {
description = "Upgrade Vim-Plug";
wantedBy = [ "default.target" ];
path = [ pkgs.git pkgs.neovim ];
script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa";
serviceConfig.Type = "oneshot";
@ -39,7 +35,6 @@
# Push password-store changes to git daily
systemd.user.services.password-store-push = {
description = "Push password-store changes to git";
wantedBy = [ "default.target" ];
path = [ pkgs.pass-wayland pkgs.git pkgs.gitAndTools.pass-git-helper ];
script = "${pkgs.pass-wayland}/bin/pass git push";
serviceConfig.Type = "oneshot";