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: stringDefault
"${config.home.homeDirectory}/.claude"Example
declared in: <home-manager/modules/programs/claude-code/options.nix>source unavailable"${config.xdg.configHome}/claude"