2020-10-05 13:30:26 +00:00
|
|
|
MANIFEST := nixos-zilch
|
2021-03-29 12:55:58 +00:00
|
|
|
FLAGS :=
|
2020-10-05 13:30:26 +00:00
|
|
|
|
2021-03-29 12:55:58 +00:00
|
|
|
.PHONY: install
|
2020-03-29 12:23:44 +00:00
|
|
|
install:
|
2021-03-29 12:55:58 +00:00
|
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "mkdir -p {location} && stow --stow {package} --target {location}" $(FLAGS)
|
2020-03-29 12:23:44 +00:00
|
|
|
|
2021-03-29 12:55:58 +00:00
|
|
|
.PHONY: reinstall
|
2020-03-29 12:23:44 +00:00
|
|
|
reinstall:
|
2021-03-29 12:55:58 +00:00
|
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "mkdir -p {location} && stow --restow {package} --target {location}" $(FLAGS)
|
2020-03-29 12:23:44 +00:00
|
|
|
|
2021-03-29 12:55:58 +00:00
|
|
|
.PHONY: clean
|
2020-03-29 12:23:44 +00:00
|
|
|
clean:
|
2021-03-29 12:55:58 +00:00
|
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --delete {package} --target {location}" $(FLAGS)
|
2023-10-29 09:52:08 +00:00
|
|
|
|
|
|
|
.PHONY: update
|
|
|
|
update:
|
|
|
|
nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: update inputs"
|
2025-01-24 05:40:46 +00:00
|
|
|
|
|
|
|
.PHONY: dry-run
|
|
|
|
dry-run:
|
|
|
|
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --stow {package} --target {location} --simulate"
|