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_RUN := nix run .\#
|
||||||
NIX_LOCK := nix flake lock
|
NIX_LOCK := nix flake lock
|
||||||
|
|
||||||
DEPS_MY := \
|
DEPS_EDITOR := \
|
||||||
nixeovim
|
nixeovim
|
||||||
|
|
||||||
DEPS_NIXOS := \
|
DEPS_SYSTEM := \
|
||||||
nixpkgs \
|
nixpkgs \
|
||||||
nixpkgs-unstable \
|
nixpkgs-unstable \
|
||||||
hardware \
|
hardware \
|
||||||
home-manager \
|
home-manager \
|
||||||
agenix
|
agenix \
|
||||||
|
|
||||||
DEPS_MISC := \
|
|
||||||
wired \
|
wired \
|
||||||
nil
|
nil
|
||||||
|
|
||||||
|
@ -56,17 +54,13 @@ rollback:
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
.PHONY: deps-my
|
.PHONY: deps-my
|
||||||
deps-my:
|
deps-editor:
|
||||||
$(NIX_LOCK) $(foreach dep,$(DEPS_MY),--update-input $(dep))
|
$(NIX_LOCK) $(foreach dep,$(DEPS_EDITOR),--update-input $(dep))
|
||||||
|
|
||||||
.PHONY: deps-nixos
|
.PHONY: deps-nixos
|
||||||
deps-nixos:
|
deps-system:
|
||||||
$(NIX_LOCK) $(foreach dep,$(DEPS_NIXOS),--update-input $(dep))
|
$(NIX_LOCK) $(foreach dep,$(DEPS_SYSTEM),--update-input $(dep))
|
||||||
|
|
||||||
.PHONY: deps-misc
|
|
||||||
deps-misc:
|
|
||||||
$(NIX_LOCK) $(foreach dep,$(DEPS_MISC),--update-input $(dep))
|
|
||||||
|
|
||||||
.PHONY: deps
|
.PHONY: deps
|
||||||
deps: deps-my deps-nixos deps-misc ;
|
deps: deps-editor deps-system ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue