build: add offline

This commit is contained in:
2025-12-07 16:34:21 +08:00
parent 90b85963cd
commit 4c74679f85

View File

@@ -8,6 +8,10 @@ switch-offline:
@echo "Rebuilding NixOS without net..." @echo "Rebuilding NixOS without net..."
@nh os switch . --no-net @nh os switch . --no-net
offline:
@echo "Rebuilding NixOS without net..."
@nh os switch . --no-net
boot: boot:
@echo "Rebuilding NixOS..." @echo "Rebuilding NixOS..."
@nh os boot . @nh os boot .