install: Fixed
This commit is contained in:
parent
10b48b22e1
commit
28ab3b0665
|
@ -87,7 +87,7 @@ sudo mkdir -p "${mountpoint}/etc"
|
||||||
sudo ln -sfn "${flake_uri}" "${mountpoint}/nixos"
|
sudo ln -sfn "${flake_uri}" "${mountpoint}/nixos"
|
||||||
|
|
||||||
# Install NixOS! Or create a new generation.
|
# 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
|
set +x
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue