diff options
Diffstat (limited to 'notes/deploy.md')
-rw-r--r-- | notes/deploy.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/notes/deploy.md b/notes/deploy.md index 2b274b5..127d0e9 100644 --- a/notes/deploy.md +++ b/notes/deploy.md @@ -1,8 +1,7 @@ # Full redeployment -After a complete server purge just load up the newest NixOS ISO, set the root password and run: +After a complete server purge just run (requires a root password and _some_ Linux distribution running on it.): -```bash -ipv4_address=$(dig +short "<hostname>"); # ipv6 seems to fail in this context -nix run github:numtide/nixos-anywhere -- --flake .#<hostname> root@"$ipv4_address" +```sh +./scripts/deploy.sh "<ssh url>" "<hostname>" ``` |