Apply a minor refactor to some configurations

This commit is contained in:
2021-08-09 01:11:33 +01:00
parent f5b58f97ca
commit a08e0908a9
2 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ with pkgs;
let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: with epkgs; [ vterm ]));
(epkgs: [ epkgs.vterm ]));
in {
# Upgrade Doom Emacs daily
@@ -32,7 +32,7 @@ in {
# Upgrade Neovim plugins weekly
systemd.user.services.vim-plug-upgrade = {
description = "Upgrade Vim-Plug";
path = [ pkgs.git pkgs.neovim ];
path = [ git neovim ];
script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa";
serviceConfig.Type = "oneshot";
startAt = "Wed 18:00:00";
@@ -41,7 +41,7 @@ in {
# Push password-store changes to git daily
systemd.user.services.password-store-push = {
description = "Push password-store changes to git";
path = [ pkgs.pass-wayland pkgs.git pkgs.gitAndTools.pass-git-helper ];
path = [ pass-wayland git gitAndTools.pass-git-helper ];
script = "${pkgs.pass-wayland}/bin/pass git push";
serviceConfig.Type = "oneshot";
startAt = "18:00:00";