programs.claude-code.configDir

Home-Manager option

string
Written as a quoted string

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.

type: string
Default
"${config.home.homeDirectory}/.claude"
Example
"${config.xdg.configHome}/claude"
declared in: <home-manager/modules/programs/claude-code/options.nix>source unavailable