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

services.mopidy.enable

Whether to enable Mopidy music player daemon.

Type: boolean

Default:

false

Example:

true

Declared by:

services.mopidy.extensionPackages

Mopidy extensions that should be loaded by the service.

Type: list of package

Default:

[ ]

Example:

with pkgs; [ mopidy-spotify mopidy-mpd mopidy-mpris ]

Declared by:

services.mopidy.extraConfigFiles

Extra configuration files read by Mopidy when the service starts. Later files in the list override earlier configuration files and structured settings.

Type: list of absolute path

Default:

[ ]

Declared by:

services.mopidy.settings

Configuration written to $XDG_CONFIG_HOME/mopidy/mopidy.conf.

See https://docs.mopidy.com/en/latest/config/ for more details.

Type: attribute set of attribute set of (Mopidy config value)

Default:

{ }

Example:

{
  file = {
    media_dirs = [
      "$XDG_MUSIC_DIR|Music"
      "~/library|Library"
    ];
    follow_symlinks = true;
    excluded_file_extensions = [
      ".html"
      ".zip"
      ".jpg"
      ".jpeg"
      ".png"
    ];
  };

  # Please don't put your mopidy-spotify configuration in the public. :)
  # Think of your Spotify Premium subscription!
  spotify = {
    client_id = "CLIENT_ID";
    client_secret = "CLIENT_SECRET";
  };
}

Declared by: