Remove obsolete user services
This commit is contained in:
parent
15aaadfe32
commit
93018d369f
@ -22,26 +22,13 @@ in
|
|||||||
coreutils
|
coreutils
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade"
|
/home/coolneng/.emacs.d/bin/doom -! upgrade
|
||||||
'';
|
'';
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "22:00:00";
|
startAt = "22:00:00";
|
||||||
after = [ "network-online.target" ];
|
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
|
# 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";
|
||||||
@ -124,17 +111,7 @@ in
|
|||||||
];
|
];
|
||||||
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push";
|
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "14:00:00";
|
startAt = "18: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";
|
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user