Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.direnv.enable

Whether to enable direnv, the environment switcher.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.direnv.enableBashIntegration

Whether to enable Bash integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.direnv.enableFishIntegration

Whether to enable Fish integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.direnv.enableNushellIntegration

Whether to enable Nushell integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.direnv.enableZshIntegration

Whether to enable Zsh integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.direnv.package

The direnv package to use.

Type: package

Default:

pkgs.direnv

Declared by:

programs.direnv.config

Configuration written to $XDG_CONFIG_HOME/direnv/direnv.toml.

See direnv.toml(1). for the full list of options.

Type: TOML value

Default:

{ }

Declared by:

programs.direnv.mise.enable

Whether to enable mise, integration of use_mise for direnv.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.direnv.mise.package

The mise package to use.

Type: package

Default:

pkgs.mise

Declared by:

programs.direnv.nix-direnv.enable

Whether to enable nix-direnv, a fast, persistent use_nix implementation for direnv.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.direnv.nix-direnv.package

The nix-direnv package to use.

Type: package

Default:

pkgs.nix-direnv

Declared by:

programs.direnv.silent

Whether to enable silent mode, that is, disabling direnv logging.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.direnv.stdlib

Custom stdlib written to $XDG_CONFIG_HOME/direnv/direnvrc.

Type: strings concatenated with ā€œ\nā€

Default:

""

Declared by: