MyNixOS website logo
option

services.jellyfin.forceEncodingConfig

Whether to overwrite Jellyfin's encoding.xml configuration file on each service start.

When enabled, the encoding configuration specified in services.jellyfin.transcoding and services.jellyfin.hardwareAcceleration will be applied on every service restart. A backup of the existing encoding.xml will be created at encoding.xml.backup-$timestamp.

Enabling this option means that any changes made to transcoding settings through Jellyfin's web dashboard will be lost on the next service restart. The NixOS configuration becomes the single source of truth for encoding settings.

When disabled (the default), the encoding configuration is only written if no encoding.xml exists yet. This allows settings to be changed through Jellyfin's web dashboard and persist across restarts, but means the NixOS configuration options will be ignored after the initial setup.

Declarations
Type
boolean
Default
false