make: add update neovim command
This commit is contained in:
parent
366f7e2e6e
commit
f2ca44c835
1 changed files with 14 additions and 0 deletions
14
Makefile
14
Makefile
|
@ -1,6 +1,8 @@
|
||||||
NIX_RUN := nix run .\#
|
NIX_RUN := nix run .\#
|
||||||
NIX_LOCK := nix flake lock
|
NIX_LOCK := nix flake lock
|
||||||
|
|
||||||
|
NEOVIM_INDEX := 4
|
||||||
|
|
||||||
DEPS_EDITOR := \
|
DEPS_EDITOR := \
|
||||||
nixeovim
|
nixeovim
|
||||||
|
|
||||||
|
@ -49,6 +51,18 @@ $(foreach vps,$(VPS),$(eval $(call vps_rule,$(vps))))
|
||||||
rollback:
|
rollback:
|
||||||
sudo nixos-rebuild --rollback
|
sudo nixos-rebuild --rollback
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Editor
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
.PHONY: neovim
|
||||||
|
neovim:
|
||||||
|
nix profile upgrade $(EDITOR_INDEX)
|
||||||
|
|
||||||
|
.PHONY: init-neovim
|
||||||
|
init-neovim:
|
||||||
|
nix profile install .#neovim-dev
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Deps
|
# Deps
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in a new issue