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.nnn.enable

Whether to enable nnn.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.nnn.enableBashIntegration

Whether to enable Bash integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.nnn.enableFishIntegration

Whether to enable Fish integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.nnn.enableZshIntegration

Whether to enable Zsh integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.nnn.package

The nnn package to use.

Type: package

Default:

pkgs.nnn

Example:

pkgs.nnn.override { withNerdIcons = true; }

Declared by:

programs.nnn.bookmarks

Directory bookmarks.

Type: attribute set of string

Default:

{ }

Example:

{
  d = "~/Documents";
  D = "~/Downloads";
  p = "~/Pictures";
  v = "~/Videos";
};

Declared by:

programs.nnn.extraPackages

Extra packages available to nnn.

Type: list of package

Default:

[ ]

Example:

with pkgs; [ ffmpegthumbnailer mediainfo sxiv ]

Declared by:

programs.nnn.options

Configuration options for nnn. See nnn -h

Type: (list of string) or (attribute set of (boolean or signed integer or string)) convertible to it

Default:

{ }

Example:

{
  A = true;
  s = "session_name";
  t = 8;
}

Declared by:

programs.nnn.plugins

Manage nnn plugins.

Type: submodule

Default:

{ }

Declared by:

programs.nnn.plugins.mappings

Key mappings to the plugins.

Type: attribute set of string

Default:

{ }

Example:

{
  c = "fzcd";
  f = "finder";
  v = "imgview";
};

Declared by:

programs.nnn.plugins.src

Path to the plugin folder.

Type: null or absolute path

Default:

null

Example:

(pkgs.fetchFromGitHub {
  owner = "jarun";
  repo = "nnn";
  rev = "v4.0";
  sha256 = "sha256-Hpc8YaJeAzJoEi7aJ6DntH2VLkoR6ToP6tPYn3llR7k=";
}) + "/plugins";

Declared by:

programs.nnn.quitcd

Whether to enable cd on quit.

Type: boolean

Default:

false

Example:

true

Declared by: