diff --git a/modules/periodic.nix b/modules/periodic.nix index 1d92a8c..125b333 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -22,26 +22,13 @@ in coreutils ]; script = '' - ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade" + /home/coolneng/.emacs.d/bin/doom -! upgrade ''; serviceConfig.Type = "oneshot"; startAt = "22:00:00"; after = [ "network-online.target" ]; }; - # Upgrade Neovim plugins weekly - systemd.user.services.vim-plug-upgrade = { - description = "Upgrade Vim-Plug"; - path = [ - git - neovim - ]; - script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa"; - serviceConfig.Type = "oneshot"; - startAt = "Wed 18:00:00"; - after = [ "network-online.target" ]; - }; - # Push password-store changes to git daily systemd.user.services.password-store-push = { description = "Push password-store changes to git"; @@ -124,17 +111,7 @@ in ]; script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push"; serviceConfig.Type = "oneshot"; - startAt = "14:00:00"; - after = [ "network-online.target" ]; - }; - - # Pull changes from zion daily - systemd.user.services.zion-pull = { - description = "Pull zion changes to git"; - path = [ git ]; - script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/zion pull"; - serviceConfig.Type = "oneshot"; - startAt = "10:00:00"; + startAt = "18:00:00"; after = [ "network-online.target" ]; };