diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-10 10:55:33 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-10 10:55:33 -0400 |
| commit | 2daada36d14575ea6659a52b03a695087ad3144f (patch) | |
| tree | ca8d1912e57e209ba06c59dc69c74fc811a9e4a3 /install.sh | |
| parent | c51cf01312b92d9fb1a9442fef7114fce060d274 (diff) | |
update install
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ fi MACHINE="$1" +sudo mkdir -p /mnt/config sudo cp -rv * /mnt/config CONFIG_ARGS="--root /mnt" @@ -14,7 +15,7 @@ if [ $MACHINE = "x" ]; then CONFIG_ARGS="$CONFIG_ARGS --no-filesystems" fi -sudo nixos-generate-config --root /mnt --no-filesystems +sudo nixos-generate-config $CONFIG_ARGS cd /mnt/config sudo mv -v /mnt/etc/nixos/hardware-configuration.nix machines/$MACHINE/hardware-configuration.nix |
