From 3ea6a58f86f493d188b2a2773311df91612ce9ff Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 8 Jul 2023 13:54:12 +0200 Subject: Docs(notes): Add section about redeployment --- notes/deploy.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 notes/deploy.md 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 ""); # ipv6 seems to fail in this context +nix run github:numtide/nixos-anywhere -- --flake .# root@"$ipv4_address" +``` -- cgit 1.4.1