update makefile
This commit is contained in:
parent
d46465a4d3
commit
52c76bbe6a
1 changed files with 8 additions and 14 deletions
22
Makefile
22
Makefile
|
@ -1,17 +1,15 @@
|
|||
NIX_RUN := nix run .\#
|
||||
NIX_LOCK := nix flake lock
|
||||
|
||||
DEPS_MY := \
|
||||
DEPS_EDITOR := \
|
||||
nixeovim
|
||||
|
||||
DEPS_NIXOS := \
|
||||
DEPS_SYSTEM := \
|
||||
nixpkgs \
|
||||
nixpkgs-unstable \
|
||||
hardware \
|
||||
home-manager \
|
||||
agenix
|
||||
|
||||
DEPS_MISC := \
|
||||
agenix \
|
||||
wired \
|
||||
nil
|
||||
|
||||
|
@ -56,17 +54,13 @@ rollback:
|
|||
################################################################################
|
||||
|
||||
.PHONY: deps-my
|
||||
deps-my:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_MY),--update-input $(dep))
|
||||
deps-editor:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_EDITOR),--update-input $(dep))
|
||||
|
||||
.PHONY: deps-nixos
|
||||
deps-nixos:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_NIXOS),--update-input $(dep))
|
||||
|
||||
.PHONY: deps-misc
|
||||
deps-misc:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_MISC),--update-input $(dep))
|
||||
deps-system:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_SYSTEM),--update-input $(dep))
|
||||
|
||||
.PHONY: deps
|
||||
deps: deps-my deps-nixos deps-misc ;
|
||||
deps: deps-editor deps-system ;
|
||||
|
||||
|
|
Loading…
Reference in a new issue