hermenix setup/migrate/remote no longer need a local checkout anywhere:
- Host-specific settings (cache signing key, SSH keys) now live at
/etc/hermenix/local.nix on the host itself, read via an absolute-path
import in common.nix (--impure, deliberately - reading outside the
flake's own source tree). No more guest/common.nix patching, no more
guest/common.nix.bak, no more git-pull conflicts on a locally-edited
tracked file (see the hermes-vm.service incident on hl-fwdesk).
- `setup` builds directly from the flake's own git+ssh URL by default
(--flake to override), so it works from any directory on any host -
dropped the "run this from the hermenix repository root" requirement
entirely.
- `remote` now just runs `nix run <flake>#hermenix -- ...` on the target
host directly - dropped the clone-if-missing/--dir/--repo machinery,
since there's no checkout to manage anymore.
guest/local.nix.example documents the expected shape. Verified the
write-then-read-back round trip (nix-instantiate --eval --json) and the
simplified remote command construction against sandboxed stubs before
pushing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>