tools

External tools settings.

Type: attribute set of (submodule)

Default: { }

tools.diff

Preferred diff tool.

Type: constrained string

Valid values:

  • none
  • use-configured-merge-tool
  • git-config

Default: use-configured-merge-tool

tools.editor.fileExtraOptions

Extra options passed to the editor when opening a file.

note

This option will not have any effect unless a custom external editor is set with tools.editor.package.

The following variables are available:

  • $REPO_PATH: path to the repository on filesystem
  • $FILE_PATH: path to the file on filesystem

Type: null or string

Default: null

tools.editor.package

External code/text editor.

Type: null or package

Default: null

tools.editor.repoExtraOptions

Extra options passed to the editor when opening a repository.

note

This option will not have any effect unless a custom external editor is set with tools.editor.package.

The following variable is available:

  • $REPO_PATH: path to the repository on filesystem

Type: null or string

Default: null

tools.merge

Preferred merge tool.

Type: constrained string

Valid values:

  • none
  • git-config

Default: git-config

tools.terminal.extraOptions

Extra options passed to the terminal.

note

This option will not have any effect unless a custom external terminal is set with tools.terminal.package.

The following variable is available:

  • %d: path to the repository on filesystem

Type: null or string

Default: null

tools.terminal.package

External terminal.

When set to null, the built-in terminal will be used.

Type: null or package

Default: null

Example: pkgs.alacritty


This documentation was automatically generated from the NixKraken configuration options.

Generated on: 2025-09-14