From 4d4dff45eed52d708bc2cbaead12ee11fb7d030c Mon Sep 17 00:00:00 2001 From: Luke Else Date: Thu, 20 Mar 2025 22:42:37 +0000 Subject: [PATCH] Changed isntall order of nix files --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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