mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-04-21 06:19:11 +00:00
27 lines
975 B
Makefile
27 lines
975 B
Makefile
MANIFEST := nixos-zilch
|
|
FLAGS :=
|
|
|
|
.PHONY: install
|
|
install:
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "mkdir -p {location} && stow --stow {package} --target {location}" $(FLAGS)
|
|
|
|
.PHONY: reinstall
|
|
reinstall:
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "mkdir -p {location} && stow --restow {package} --target {location}" $(FLAGS)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --delete {package} --target {location}" $(FLAGS)
|
|
|
|
.PHONY: update
|
|
update:
|
|
nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: update inputs"
|
|
|
|
.PHONY: dry-run
|
|
dry-run:
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --stow {package} --target {location} --simulate"
|
|
|
|
.PHONY: nvim-lockfile-update
|
|
nvim-lockfile-update:
|
|
git checkout -- ./nvim/lazy-lock.json && nvim --headless "+Lazy! sync" "+qa" && git commit --message "nvim: update lazy.nvim lockfile as of $(shell date "+%F")" -- ./nvim/lazy-lock.json
|