Configuration

Nex uses a TOML configuration file at %APPDATA%\Nex\config.toml. Auto-created on first launch. Most settings hot-reload; hotkey and index_db_path require restart.

Core

SettingTypeDefaultDescription
hotkeystringCtrl+SpaceGlobal hotkey to toggle overlay
launch_at_startupbooltrueStart Nex on Windows sign-in
max_resultsu1620Results per query (5–100)
show_filesboolfalseInclude files in search results
show_foldersboolfalseInclude folders in search results
search_mode_defaultstringallDefault mode: all, apps, files, actions, clipboard

Search & Discovery

SettingTypeDefaultDescription
search_dsl_enabledbooltrueEnable DSL operators (kind:, modified:, AND, OR, NOT)
file_discovery_backendstringautoauto, everything, walkdir
discovery_rootsstring[][user dir]Folders scanned for file discovery
discovery_exclude_rootsstring[][temp, cache]Excluded folders
web_search_providerstringgooglegoogle, duckduckgo, bing, brave, startpage, ecosia, yahoo, custom
web_search_custom_templatestring""URL template with {query}

Clipboard

SettingTypeDefaultDescription
clipboard_enabledboolfalseEnable clipboard history
clipboard_retention_minutesu32480Retention in minutes (5–43200)
clipboard_exclude_sensitive_patternsstring[][password, otp, ...]Patterns that prevent capture

Plugins

SettingTypeDefaultDescription
plugins_enabledbooltrueEnable plugin system
plugins_safe_modebooltruePrevent plugin command execution
plugin_pathsstring[][%APPDATA%\Nex\plugins]Plugin directories

Performance

SettingTypeDefaultDescription
active_memory_target_mbu1672Active memory target (20–512 MB)
idle_cache_trim_msu32900Cache trim delay after hide (100–10000 ms)
ui_warm_release_msu325000WebView resident time after hide (500–600000 ms)
game_mode_enabledboolfalseSuppress hotkey during fullscreen games

Index

SettingTypeDefaultDescription
index_max_items_totalu32120000Maximum indexed items across all roots
index_max_items_per_rootu3240000Max per discovery root (≤ total)
index_max_items_per_query_seedu325000Candidate budget per file query

Example

hotkey = "Ctrl+Space"
launch_at_startup = true
max_results = 20
show_files = false
file_discovery_backend = "auto"
web_search_provider = "google"
clipboard_enabled = false
plugins_enabled = true
active_memory_target_mb = 72
game_mode_enabled = false