diff options
Diffstat (limited to '')
-rw-r--r-- | notes/deploy.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/notes/deploy.md b/notes/deploy.md new file mode 100644 index 0000000..61dcbfc --- /dev/null +++ b/notes/deploy.md @@ -0,0 +1,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" +``` |