blob: 2b274b522073d72183b87755517c5d82392fdb71 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
# Full redeployment
After a complete server purge just load up the newest NixOS ISO, set the root password and run:
```bash
ipv4_address=$(dig +short "<hostname>"); # ipv6 seems to fail in this context
nix run github:numtide/nixos-anywhere -- --flake .#<hostname> root@"$ipv4_address"
```
|