summary refs log tree commit diff stats
path: root/notes/deploy.md
blob: 61dcbfc28d145ef3f658eb2f853ccb3d444cd03d (plain) (blame)
1
2
3
4
5
6
# 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"
```