Skip to content

Navidrome - Plugins - Discord Rich Presence - Config

Configuration options for navidrome plugins discord-rich-presence config.

Available Options

This page documents 10 configuration options.

nixflix.navidrome.plugins.discord-rich-presence.config

Discord Rich Presence integration for Navidrome

Typesubmodule
Default
{ }
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.activityname

Activity Name Display

Choose what to display as the activity name in Discord Rich Presence

Typeone of "Default", "Track", "Album", "Artist", "Custom"
Default
"Default"
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.activitynametemplate

Custom Activity Name Template

Template for the activity name. Available placeholders: {track}, {artist}, {artists}, {album}

Typestring
Default
"{artist} - {track}"
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.caaenabled

Use artwork from Cover Art Archive (for MusicBrainz-tagged music)

When enabled, attempts to fetch album artwork from the Cover Art Archive using MusicBrainz IDs. Takes priority over other artwork methods.

Typeboolean
Default
false
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.clientid

Discord Application Client ID

The Client ID from your Discord Developer Application. Create one at https://discord.com/developers/applications

Typestring
Default
""
Declared inmodules/navidrome/plugins/fromGenerated.nix

Enable Spotify link-through

When enabled, clicking the track title or album art in Discord opens the corresponding Spotify page

Typeboolean
Default
false
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.uguuenabled

Upload artwork to uguu.se (enable if Navidrome is not publicly accessible)

Typeboolean
Default
false
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.users

User Tokens

Discord tokens for each Navidrome user. WARNING: Store tokens securely!

Typelist of (submodule)
Default
[ ]
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.users.*.token

Discord Token

The user's Discord token (keep this secret!)

Warning

Can be a plain string (visible in Nix store) or { _secret = /path/to/file; } for file-based secrets.

Plain-text secrets will be visible in the Nix store. Use { _secret = path; } for sensitive data.

Typestring or (submodule)
Default
null
Example
{ _secret = "/run/secrets/secret-file"; }
Declared inmodules/navidrome/plugins/fromGenerated.nix

nixflix.navidrome.plugins.discord-rich-presence.config.users.*.username

Navidrome Username

The Navidrome username to associate with this Discord token

Typestring
Default
""
Declared inmodules/navidrome/plugins/fromGenerated.nix