From 6e29b21fd35383c7d6ddf2f3cb2a34b430e6cdcb Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 6 Apr 2026 19:12:03 +0200 Subject: [PATCH] Add update and upgrade targets to Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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