parent
7b9150ed8b
commit
1483d3f1ca
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
## On Target: Enter NixOS from non-NixOS host
|
||||
|
||||
In case you cannot boot easily into a nixos-installer image you can download the kexec installer image of NixOS and kexec into it:
|
||||
In case you cannot boot easily into a nixos-installer image you can download the kexec installer image of NixOS and kexec into it:
|
||||
|
||||
```
|
||||
curl -L https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-noninteractive-x86_64-linux.tar.gz | tar -xzf- -C /root
|
||||
|
@ -27,4 +27,3 @@ ssh-keygen -t ed25519 -f /mnt/etc/secrets/initrd/ssh_host_ed25519_key
|
|||
```
|
||||
nix run github:nix-community/nixos-anywhere -- --flake .#<hostname> --target-host root@<host> --phases install,reboot
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue