# Other Laptop Codex Setup
This note records the desktop-side setup for syncing the stable Codex config between machines.
## Canonical repo
`/Users/nickyoung/.codex-config`
This is the sync-safe subset of `~/.codex/`.
It contains:
- `config.toml`
- `rules/`
- `skills/` (excluding `.system`)
It does **not** contain:
- auth files
- sqlite state
- logs
- sessions
- shell snapshots
- other machine-local caches
## Scripts
- export current desktop Codex config into the repo:
`/Users/nickyoung/.codex-config/scripts/export-from-live.sh`
- apply repo contents into live `~/.codex` on a machine:
`/Users/nickyoung/.codex-config/scripts/apply-to-live.sh`
## Desktop status
Desktop repo is now connected to the private GitHub remote and pushed successfully.
Canonical remote:
`https://github.com/nickneek/codex-config.git`
## Laptop procedure
1. Clone the private repo to:
`~/.codex-config`
2. Run:
`/Users/nickyoung/.codex-config/scripts/apply-to-live.sh`
3. Restart Codex/Desktop app so the newly copied skills/config are picked up cleanly.
## Important caveat
This syncs only the stable config surface. It does not sync:
- auth/session history
- logs/state databases
- machine-local caches