Monorepo for Tangled forked from tangled.org/core

nix/vm: run AT Protocol stack inside VM for offline dev #26

Open nolith.dev
targeting master from local-dev
Open opened by and assigned to nolith.dev
targeting master from local-dev

Configure the NixOS development VM to run the full AT Protocol stack (PLC directory, PDS, Jetstream) alongside the existing knot and spindle services. All services communicate over localhost inside the VM, with ports forwarded to the host for the appview (which runs on the host).

Add a bootstrap systemd service that creates a test account on the PDS and writes the owner DID to an environment file that knot/spindle load via EnvironmentFile=. Add devshell environment variables that point the host-side appview at the local AT Protocol services.

AI-assisted: GitLab Duo Agentic Chat (Claude Opus 4.6) Signed-off-by: Alessio Caiazza code.git@caiazza.info

Commits 6

nix/vm: run AT Protocol stack inside VM for offline dev
nix: add PLC, PDS, and Jetstream packages
appview/oauth: add DevStartAuthFlow for HTTP dev mode
appview,knot,spindle: use DevDirectory in dev mode
idresolver: add DevDirectory for .test TLD handle resolution
idresolver: add PDSClient() helper to reduce duplication