Navidrome - Plugins - Discord Rich Presence¶
Configuration options for navidrome plugins discord-rich-presence.
Available Options
This page documents 6 configuration options.
Additional Options¶
This page has the following additional configuration options:
nixflix.navidrome.plugins.discord-rich-presence.enable¶
Whether to install this plugin's package into services.navidrome.plugins and configure+enable it via the Navidrome API.
| Type | boolean |
| Default | |
| Declared in | modules/navidrome/plugins/fromGenerated.nix |
nixflix.navidrome.plugins.discord-rich-presence.package¶
Package producing this plugin's .ndp bundle.
For a plugin not packaged in nixpkgs (i.e. not available under pkgs.pkgsCross.wasi32.navidromePlugins), wrap its .ndp release asset in a minimal derivation. passthru.isNavidromePlugin = true is required, as services.navidrome.plugins only accepts packages carrying that flag. Navidrome installs the plugin under this derivation's pname (or bundleName), so apiId must match that same name.
| Type | package |
| Default | |
| Example | |
| Declared in | modules/navidrome/plugins/fromGenerated.nix |
nixflix.navidrome.plugins.discord-rich-presence.allLibraries¶
PUT as allLibraries.
| Type | boolean |
| Default | |
| Declared in | modules/navidrome/plugins/fromGenerated.nix |
nixflix.navidrome.plugins.discord-rich-presence.allowWriteAccess¶
PUT as allowWriteAccess.
| Type | boolean |
| Default | |
| Declared in | modules/navidrome/plugins/fromGenerated.nix |
nixflix.navidrome.plugins.discord-rich-presence.apiId¶
The plugin's /api/plugin/<id> id. This must equal the basename (without .ndp) of the file actually installed to services.navidrome.finalPackage's plugin folder, i.e. package's pname (or bundleName) — not necessarily this attribute's name. It defaults to the attribute name only as a convenience, for packages where the two happen to line up; set it explicitly whenever they don't (see the discord-rich-presence/lyrics first-class plugins for existing examples of this).
| Type | string |
| Default | |
| Declared in | modules/navidrome/plugins/fromGenerated.nix |
nixflix.navidrome.plugins.discord-rich-presence.libraries¶
PUT as libraries (JSON-encoded) when allLibraries = false.
| Type | list of string |
| Default | |
| Declared in | modules/navidrome/plugins/fromGenerated.nix |