install: Fixed

This commit is contained in:
Geoffrey Frogeye 2024-06-12 23:47:20 +02:00
parent 10b48b22e1
commit 28ab3b0665
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -87,7 +87,7 @@ sudo mkdir -p "${mountpoint}/etc"
sudo ln -sfn "${flake_uri}" "${mountpoint}/nixos"
# Install NixOS! Or create a new generation.
sudo nix --extra-experimental-features "nix-command flakes" run "${SCRIPT_DIR}#nixos-install" -- --no-root-password --root "$mountpoint" --flake "${mountpoint}/etc/nixos#${name}"
sudo nix --extra-experimental-features "nix-command flakes" run "${SCRIPT_DIR}#nixos-install" -- --no-root-password --root "$mountpoint" --flake "$flake"
set +x