MyNixOS website logo

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

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

Declarations
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";
  };
}