Changed isntall order of nix files
This commit is contained in:
parent
e3acff7193
commit
4d4dff45ee
@ -20,12 +20,13 @@ mount ${DISK}2 /mnt
|
|||||||
mkdir -p /mnt/boot
|
mkdir -p /mnt/boot
|
||||||
mount ${DISK}1 /mnt/boot
|
mount ${DISK}1 /mnt/boot
|
||||||
|
|
||||||
# Install NixOS
|
mkdir -p /mnt/etc/nixos
|
||||||
nixos-generate-config --root /mnt
|
|
||||||
|
|
||||||
# Clone the configuration repository
|
# Clone the configuration repository
|
||||||
git clone https://git.luke-else.co.uk/luke-else/nixos-config.git /mnt/etc/nixos
|
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
|
# Install NixOS using the cloned configuration
|
||||||
nixos-install --root /mnt --flake /mnt/etc/nixos#vm
|
nixos-install --root /mnt --flake /mnt/etc/nixos#vm
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user