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.mpdris2-rs.enable

Whether to enable mpdris2-rs, A lightweight implementation of MPD to D-Bus bridge.

Type: boolean

Default:

false

Example:

true

Declared by:

services.mpdris2-rs.package

The mpdris2-rs package to use.

Type: package

Default:

pkgs.mpdris2-rs

Declared by:

services.mpdris2-rs.host

hostname + port, or UNIX socket path of MPD server, similar to what mpc takes

  • if not configured, MPD_HOST will be used
  • if MPD_HOST is not set either, localhost:6600 is the default
  • UNIX socket path has to be absolute
  • Abstract sockets are supported on Linux (socket path that starts with @, e.g., @mpd_socket)

Type: null or string

Default:

null

Example:

"192.168.1.1"

Declared by:

services.mpdris2-rs.notifications.enable

Whether to enable song change notifications.

Type: boolean

Default:

false

Example:

true

Declared by:

services.mpdris2-rs.notifications.body

Templating for the notification body.

See https://github.com/szclsya/mpdris2-rs?tab=readme-ov-file#configuration for available variables.

Type: null or string

Default:

null

Example:

"%title% (%elapsed%/%duration%)"

Declared by:

services.mpdris2-rs.notifications.bodyPaused

Templating for the notification body (when paused).

See https://github.com/szclsya/mpdris2-rs?tab=readme-ov-file#configuration for available variables.

Type: null or string

Default:

null

Example:

"%title% (%elapsed%/%duration%)"

Declared by:

services.mpdris2-rs.notifications.summary

Templating for the notification summary.

See https://github.com/szclsya/mpdris2-rs?tab=readme-ov-file#configuration for available variables.

Type: null or string

Default:

null

Example:

"%artist% - %album%"

Declared by:

services.mpdris2-rs.notifications.summaryPaused

Templating for the notification summary (when paused).

See https://github.com/szclsya/mpdris2-rs?tab=readme-ov-file#configuration for available variables.

Type: null or string

Default:

null

Example:

"%artist% - %album%"

Declared by:

services.mpdris2-rs.notifications.timeout

notification timeout (default 5 secs)

Type: null or floating point number

Default:

null

Example:

10.0

Declared by: