summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-10-10 10:46:40 -0400
committerRaghuram Subramani <raghus2247@gmail.com>2025-10-10 10:46:40 -0400
commitc51cf01312b92d9fb1a9442fef7114fce060d274 (patch)
tree5300ca894840b2205400bcf942677e509a0ead4a /install.sh
parent1d43f68cc4fbdf47e56094c48277a3cebdd94cd1 (diff)
no-filesystems only for x
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index a7dfe4d..7461a20 100755
--- a/install.sh
+++ b/install.sh
@@ -9,6 +9,11 @@ MACHINE="$1"
sudo cp -rv * /mnt/config
+CONFIG_ARGS="--root /mnt"
+if [ $MACHINE = "x" ]; then
+ CONFIG_ARGS="$CONFIG_ARGS --no-filesystems"
+fi
+
sudo nixos-generate-config --root /mnt --no-filesystems
cd /mnt/config