summary refs log tree commit diff stats
path: root/notes/deploy.md
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-24 17:59:52 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-24 17:59:52 +0100
commit8245579c8af73c8f40f5978878c7944c814ba04f (patch)
tree006caa951e345f481be3b91b85bcfda1061956d9 /notes/deploy.md
parentrefactor(modules/impermanence): Migrate to by-name while distributing mods (diff)
downloadnixos-server-8245579c8af73c8f40f5978878c7944c814ba04f.tar.gz
nixos-server-8245579c8af73c8f40f5978878c7944c814ba04f.zip
[WIP]
Diffstat (limited to 'notes/deploy.md')
-rw-r--r--notes/deploy.md7
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>"
 ```