fix: use --sudo --ask-sudo-password instead of deprecated --use-remote-sudo

This commit is contained in:
steffen 2026-03-14 12:11:21 +01:00
parent 10bb0c8e34
commit 6037b55091
7 changed files with 7 additions and 6 deletions

View file

@ -256,7 +256,7 @@ Dies nutzt die Konfiguration aus `deploy.json`. Alternativ manuell:
```bash
NIX_SSHOPTS="-p 2299" nixos-rebuild switch --flake .#<hostname> \
--target-host <user>@<IP> --use-remote-sudo
--target-host <user>@<IP> --sudo --ask-sudo-password
```
## Schritt 4: Platzhalter-Secrets ersetzen