programs.ncmpcpp.enable

Whether to enable Whether to enable ncmpcpp..

type

boolean

example

{
  programs.ncmpcpp.enable = true;
}

default

{
  programs.ncmpcpp.enable = false;
}

programs.ncmpcpp.package

Package to use for ncmpcpp.

type

package

default

{
  programs.ncmpcpp.package = {
    drvPath = "ncmpcpp-0.9.2";
    name = "ncmpcpp-0.9.2";
    outPath = "ncmpcpp-0.9.2";
    type = "derivation";
  };
}

programs.ncmpcpp.bindings

Key bindings for ncmpcpp. This is a set where the names are keys (e.g.: d, ctrl-r, "\"). The values are lists of either strings or lists of strings. The strings are actions, like "reverse_playlist". The lists are chains of actions; every action in the list will be run until the end is reached or one of the actions fails.

type

attribute set of list of string or list of string

example

{
  programs.ncmpcpp.bindings = {
    3 = [
      "show_search_engine"
      "reset_search_engine"
    ];
    enter = [
      "play_item"
    ];
    shift-k = [
      [
        "select_item"
        "scroll_up"
      ]
    ];
  };
}

default

{
  programs.ncmpcpp.bindings = {};
}

programs.ncmpcpp.config

Configuration for ncmpcpp. The format is very straightforward, with two exceptions: booleans are translated to yes and no, and lists are formatted with commas as separators. The list [ "a" "b" "c" ] is formatted as a, b, c, for instance.

type

attribute set of string or signed integer or boolean or path or list of string or signed integer or boolean or path

example

{
  programs.ncmpcpp.config = {
    mpd_port = 6600;
    visualizer_color = [
      "blue"
      "cyan"
      "green"
      "yellow"
      "magenta"
      "red"
    ];
    visualizer_in_stereo = true;
    visualizer_sync_interval = 30;
    visualizer_type = "wave";
  };
}

default

{
  programs.ncmpcpp.config = {};
}

programs.ncmpcpp.configDirectory

Directory in xdg.configHome to store ncmpcpp configuration files in. This option can be overridden by specifying ncmpcpp_directory in programs.ncmpcpp.config. This option is present to prevent ncmpcpp from making a directory ~/.ncmpcpp, which it does by default if ncmpcpp_directory is not specified in the configuration.

If the value is an empty string, the ncmpcpp_directory option will not be set.

type

string

default

{
  programs.ncmpcpp.configDirectory = "ncmpcpp";
}

services.mpdscribble.enable

Whether to enable Whether to enable mpdscribble..

type

boolean

example

{
  services.mpdscribble.enable = true;
}

default

{
  services.mpdscribble.enable = false;
}

services.mpdscribble.package

Package to use for mpdscribble.

type

package

default

{
  services.mpdscribble.package = {
    drvPath = "mpdscribble-0.24";
    name = "mpdscribble-0.24";
    outPath = "mpdscribble-0.24";
    type = "derivation";
  };
}

services.mpdscribble.config

type

attribute set of string or signed integer or boolean or path or list of string or attribute set of string or signed integer or boolean or path or list of string

example

{
  services.mpdscribble.config = {
    host = "localhost";
    "libre.fm" = {
      password = "myPassword";
      url = "https://turtle.libre.fm/";
      username = "myUsername";
    };
    port = 6600;
    verbose = 2;
  };
}

default

{
  services.mpdscribble.config = {};
}

services.mpdscribble.extraConfig

Extra configuration that will be appended to the end.

type

strings concatenated with "\n"

default

{
  services.mpdscribble.extraConfig = "";
}