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

Whether to enable ncmpcpp - an ncurses Music Player Daemon (MPD) client.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.ncmpcpp.package

The ncmpcpp package to use.

Type: package

Default:

pkgs.ncmpcpp

Example:

pkgs.ncmpcpp.override { visualizerSupport = true; }

Declared by:

programs.ncmpcpp.bindings

List of keybindings.

Type: list of (submodule)

Default:

[ ]

Example:

[
  {
    command = "scroll_down";
    key = "j";
  }
  {
    command = "scroll_up";
    key = "k";
  }
  {
    command = [
      "select_item"
      "scroll_down"
    ];
    key = "J";
  }
  {
    command = [
      "select_item"
      "scroll_up"
    ];
    key = "K";
  }
]

Declared by:

programs.ncmpcpp.bindings.*.command

Command or sequence of commands to be executed.

Type: string or list of string

Example:

"scroll_down"

Declared by:

programs.ncmpcpp.bindings.*.key

Key to bind.

Type: string

Example:

"j"

Declared by:

programs.ncmpcpp.mpdMusicDir

Value of the mpd_music_dir setting. On Linux platforms the value of services.mpd.musicDirectory is used as the default if services.mpd.enable is true.

Type: null or (string or absolute path convertible to it)

Default:

if pkgs.stdenv.hostPlatform.isLinux && config.services.mpd.enable then
  config.services.mpd.musicDirectory
else
  null

Example:

"~/music"

Declared by:

programs.ncmpcpp.settings

Attribute set from name of a setting to its value. For available options see ncmpcpp(1).

Type: attribute set of (boolean or signed integer or string)

Default:

{ }

Example:

{
  ncmpcpp_directory = "~/.local/share/ncmpcpp";
}

Declared by: