Changed isntall order of nix files

This commit is contained in:
Luke Else 2025-03-20 22:42:37 +00:00
parent e3acff7193
commit 4d4dff45ee

View File

@ -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