MyNixOS website logo
option

programs.claude-code.configDir

Directory holding Claude Code's configuration files.

Defaults to ~/.claude, matching the upstream claude CLI default. The CLAUDE_CONFIG_DIR environment variable is exported automatically whenever the directory differs from this default so the CLI reads configuration from the same location.

Declarations
Type
string
Default
"${config.home.homeDirectory}/.claude"
Example
"${config.xdg.configHome}/claude"