diff --git a/Makefile b/Makefile index cf9845b..3635577 100644 --- a/Makefile +++ b/Makefile @@ -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