Jellyfin - Plugins¶
Configuration options for jellyfin plugins.
Available Options
This page documents 5 configuration options.
nixflix.jellyfin.plugins¶
Jellyfin plugins to manage declaratively.
Each key is the plugin name exactly as it appears in the Jellyfin repository manifest (e.g. "Anime", "Bookshelf", "Trakt"). Plugin names must be unique across all configured plugin repositories.
Plugins are installed from package. This can either be a normal Nix derivation, or a repository lookup created with nixflix.lib.jellyfinPlugins.fromRepo.
Plugin changes (installs, removals, version updates) cause Jellyfin to restart automatically. Plan plugin changes for maintenance windows to avoid interrupting active streams.
| Type | open submodule of attribute set of (submodule) |
| Default | |
| Example | |
| Declared in | modules/jellyfin/plugins/subtitleExtract.nix, modules/jellyfin/plugins/subbuzz.nix, modules/jellyfin/plugins/openSubtitles.nix, modules/jellyfin/plugins/options.nix |
nixflix.jellyfin.plugins.<name>.apiName¶
The plugin's Name as reported by the Jellyfin /Plugins API. Defaults to the attribute name. Set this when the plugin's self-reported API name differs from its manifest name (e.g. the SSO-Auth plugin is listed in the manifest as "SSO Authentication" but reports itself via the API as "SSO-Auth").
Can be found when running the following while the plugin is installed:
curl -s -H "Authorization: MediaBrowser Token=$(sudo cat /run/jellyfin/auth-token)" \
http://127.0.0.1:8096/Plugins | jq '.[].Name'
nixflix.jellyfin.plugins.<name>.config¶
Plugin configuration payload as seen in the Jellyfin UI/API. All attributes under this option are POSTed to /Plugins/<id>/Configuration.
| Type | attribute set of anything |
| Default | |
| Example |
nixflix.jellyfin.plugins.<name>.enable¶
Whether this plugin should be installed. When false, the plugin is treated as absent: if it was previously installed by nixflix it will be uninstalled on the next nixos-rebuild. This is equivalent to removing the attribute entirely from nixflix.jellyfin.plugins.
nixflix.jellyfin.plugins.<name>.package¶
Nix package containing the unpacked Jellyfin plugin files to copy into Jellyfin's plugin directory.
For repository-managed plugins, use nixflix.lib.jellyfinPlugins.fromRepo { version = ...; hash = ...; } to resolve a deterministic package from the pinned plugin manifests.