nixos-configs/configurations/nos/modules/jellyfin/packages.nix
matt1432 9b01444637
All checks were successful
Discord / discord commits (push) Has been skipped
chore(jellyfin): add forceDisablePreferFmp4 to web package
2024-12-21 21:42:01 -05:00

20 lines
454 B
Nix

{
config,
jellyfin-flake,
pkgs,
...
}: let
jellyPkgs =
if config.nvidia.enableCUDA
then jellyfin-flake.packages.${pkgs.system}.cudaPackages
else jellyfin-flake.packages.${pkgs.system};
in {
services.jellyfin = {
package = jellyPkgs.jellyfin;
webPackage = jellyPkgs.jellyfin-web.override {
forceEnableBackdrops = true;
forceDisablePreferFmp4 = true;
};
ffmpegPackage = jellyPkgs.jellyfin-ffmpeg;
};
}