aboutsummaryrefslogtreecommitdiff
path: root/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index c11918d..e18f301 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -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):