services.mpdris2.settings
Home-Manager option
attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))
Configuration settings for mpDris2. The settings are written to $XDG_CONFIG_HOME/mpDris2/mpDris2.conf. These settings are written to the world-readable Nix store, so avoid putting a private Connection.password here. To keep it out of the store, you can set MPD_HOST=password@host in a file referenced by systemd.user.services.mpdris2.Service.EnvironmentFile; mpDris2 then uses the host and password from MPD_HOST instead of the ones in this file. See <https://github.com/eonpatapon/mpDris2/blob/master/src/mpDris2.conf> for available settings.
type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))Default
{ }Example
declared in: <home-manager/modules/services/mpdris2.nix>source unavailable{ Library = { cover_regex = "^(album|cover).*$"; }; Notify = { summary = "%artist% - %title%"; timeout = 5000; urgency = 1; }; }