Add update and upgrade targets to Makefile

This commit is contained in:
2026-04-06 19:12:03 +02:00
parent 5ec2dd1778
commit 6e29b21fd3

View File

@@ -3,5 +3,9 @@ DIR=$(HOME)/Projects/zion
switch:
nixos-rebuild switch --no-reexec --target-host root@zion \
--build-host root@zion --flake path://$(DIR)#zion
update:
nix flake update --commit-lock-file
upgrade:
make update && make switch
.DEFAULT_GOAL := switch