diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2026-07-19 08:01:08 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2026-07-19 08:01:08 +0200 |
| commit | e82575c6cd1c32385f239475674bc6605c9d6cff (patch) | |
| tree | 1cd459cdb69f5d83f787bda6afb8b890e537a4db /CLAUDE.md | |
| parent | 7059a8e25eea838fbc0d5428701c763bad7be286 (diff) | |
Fix deploy command flag: --use-remote-sudo is deprecated
nixos-rebuild warns that --use-remote-sudo is deprecated in favor of
--elevate=sudo; update both documented deploy commands accordingly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ Deploy a change (from an x86_64-linux machine): ```bash nixos-rebuild switch --flake .#eurovm \ --target-host admin@<server-ipv4> \ - --use-remote-sudo + --elevate=sudo ``` Deploy from a non-x86_64-linux machine (e.g. Apple Silicon) — the server builds its own closure: @@ -30,7 +30,7 @@ Deploy from a non-x86_64-linux machine (e.g. Apple Silicon) — the server build nixos-rebuild switch --flake .#eurovm \ --target-host admin@<server-ipv4> \ --build-host admin@<server-ipv4> \ - --use-remote-sudo + --elevate=sudo ``` First-time provisioning of a fresh VM (partitions the disk via disko, installs NixOS): |
