Jellyfin¶
Jellyfin is a free media server for managing and streaming media.
Available Options
This page documents 14 configuration options.
nixflix.jellyfin.enable¶
Whether to enable Jellyfin media server
| Type | boolean |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.apiKey¶
API key to inject into Jellyfin's database. Used by nixflix management services to authenticate to Jellyfin.
Can be created with the following:
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.
| Type | string or (submodule) |
| Default | |
| Example | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.package¶
Jellyfin package to use
| Type | package |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.cacheDir¶
Directory containing the jellyfin server cache, passed with --cachedir see #cache-directory
| Type | absolute path |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.configDir¶
Directory containing the server configuration files, passed with --configdir see configuration-directory
| Type | absolute path |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.dataDir¶
Directory containing the Jellyfin data files
| Type | absolute path |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.group¶
Group under which the service runs
| Type | string |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.logDir¶
Directory where the Jellyfin logs will be stored, passed with --logdir see #log-directory
| Type | absolute path |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.metadata.useFileCreationTimeForDateAdded¶
When enabled, Jellyfin uses the file's creation timestamp as the "date added" value. When disabled (the default), Jellyfin uses the date the file was scanned into the library.
Disable this when files have a creation date that predates when they were actually added to the system (e.g. files whose metadata records the original creation time), as this can interfere with automations that depend on "date added" reflecting scan time.
| Type | boolean |
| Default | |
| Declared in | modules/jellyfin/metadata/options.nix |
nixflix.jellyfin.openFirewall¶
Open ports in the firewall for Jellyfin. TCP ports 8096 and 8920, UDP ports 1900 and 7359.
| Type | boolean |
| Default | |
| Declared in | modules/jellyfin/network/options.nix |
nixflix.jellyfin.reverseProxy.expose¶
Whether to expose Jellyfin via the reverse proxy.
| Type | boolean |
| Default | |
| Declared in | modules/jellyfin/network/options.nix |
nixflix.jellyfin.subdomain¶
Subdomain prefix for reverse proxy.
| Type | string |
| Default | |
| Declared in | modules/jellyfin/network/options.nix |
nixflix.jellyfin.user¶
User under which the service runs
| Type | string |
| Default | |
| Declared in | modules/jellyfin/options.nix |
nixflix.jellyfin.vpn.enable¶
Whether to route Jellyfin traffic through the VPN.
When false, Jellyfin bypasses the VPN. When true, Jellyfin is confined to the WireGuard network namespace (requires nixflix.vpn.enable = true).
| Type | boolean |
| Default | |
| Declared in | modules/jellyfin/network/options.nix |