| Files | Last commit | Last update |
|---|---|---|
Configuration Examples
This directory stores example configuration files only. meson install ships them (renamed to *.json) into the build's sysconfdir/nextless — /etc/nextless for distro builds — and the runtime reads that same directory. Per-user overrides live in ~/.config/nextless/.
Boundary
- Track
*.json.examplein Git. - Do not track
*.jsonin this directory. - Real API keys, local paths, and user preferences belong in
~/.config/nextless/*.json(your copy wins) or the packaged defaults under/etc/nextless/*.json. - Runtime lookup order is
~/.config/nextless/*.jsonfirst, then the packaged defaults installed by the same build (compiled in asNEXTLESS_PACKAGED_CONFIG_DIR); missing user files are copied from there on first read. .gitignoreignoresconfig/*.jsonto reduce the chance of committing real credentials.
Initial Setup
mkdir -p ~/.config/nextless
cp config/doubao.json.example ~/.config/nextless/doubao.json
cp config/qwen.json.example ~/.config/nextless/qwen.json
cp config/audio.json.example ~/.config/nextless/audio.json
cp config/nextless.json.example ~/.config/nextless/nextless.json
cp config/advanced.json.example ~/.config/nextless/advanced.json
After copying, edit the files under ~/.config/nextless/. Do not put real keys into files under this repository.
Files
| Example | Runtime file | Purpose |
|---|---|---|
doubao.json.example |
~/.config/nextless/doubao.json |
Doubao API key and resource ID |
qwen.json.example |
~/.config/nextless/qwen.json |
Alibaba DashScope API key |
audio.json.example |
~/.config/nextless/audio.json |
Active denoiser: none, speexdsp, or deepfilter |
nextless.json.example |
~/.config/nextless/nextless.json |
Activation delay, notifications, CapsLock debounce |
advanced.json.example |
~/.config/nextless/advanced.json |
Optional model paths, timeouts, thread counts, and audio tuning |
Notes on advanced.json:
- Omitting
num_threadsfollows the CPU (capped at 12) — do not ship the old hardcoded30. - Omitting
model_dir/bin_pathuses the built-in locations under~/.local/share/nextless/that the README download steps create; the example keeps those same values so a copied file never silently points somewhere else.
Update Rule
When adding a new runtime config key, update the relevant .json.example, this README, and the user-facing configuration section in README.md. When adding a whole new config file, also add it to the install_data(... rename: [...]) list in meson.build, or it will never be installed.