From 1d43f68cc4fbdf47e56094c48277a3cebdd94cd1 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Fri, 10 Oct 2025 10:39:53 -0400 Subject: manual (non-impermanence) partitioner and general installer --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index af1bf62..a7dfe4d 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,12 @@ #!/usr/bin/env bash -MACHINE=x +if [ "$#" -ne 1 ]; then + echo "Usage: $0 [machine]" + exit +fi + +MACHINE="$1" -sudo mkdir -v /mnt/persist/system sudo cp -rv * /mnt/config sudo nixos-generate-config --root /mnt --no-filesystems -- cgit v1.2.3