infra/docs/nixos-anywhere.md
teutat3s b6070d0f75
Some checks failed
Flake checks / Check (pull_request) Failing after 2m26s
docs: initial docs for nixos-anywhere and garage setup
2024-08-24 03:06:17 +02:00

14 lines
389 B
Markdown

```
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
/root/kexec/run
```
```
mkdir -p /etc/secrets/initrd
ssh-keygen -t ed25519 -f /etc/secrets/initrd/ssh_host_ed25519_key
```
```
nix run github:nix-community/nixos-anywhere -- --flake .#blue-shell root@194.13.83.205
```