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