diff --git a/install.sh b/install.sh index 5cd4897..eabdcbb 100644 --- a/install.sh +++ b/install.sh @@ -20,12 +20,13 @@ mount ${DISK}2 /mnt mkdir -p /mnt/boot mount ${DISK}1 /mnt/boot -# Install NixOS -nixos-generate-config --root /mnt - +mkdir -p /mnt/etc/nixos # Clone the configuration repository git clone https://git.luke-else.co.uk/luke-else/nixos-config.git /mnt/etc/nixos +# Install NixOS +nixos-generate-config --root /mnt + # Install NixOS using the cloned configuration nixos-install --root /mnt --flake /mnt/etc/nixos#vm