diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-10 10:39:53 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-10 10:39:53 -0400 |
| commit | 1d43f68cc4fbdf47e56094c48277a3cebdd94cd1 (patch) | |
| tree | f73c05564dc8bdc2ec1c55ad45abca12f4b0062b /install.sh | |
| parent | 672b481df1bac2720a065c5c2a95e53e4b768b58 (diff) | |
manual (non-impermanence) partitioner and general installer
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
