diff --git a/flake.nix b/flake.nix index 4f6e88b2d..28be3f708 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,14 @@ supportedSystems = [ "x86_64-linux" ]; + channels.nixpkgs.patches = [ + (nixpkgs.legacyPackages."x86_64-linux".fetchpatch { + name = "jellyfin-ffmpeg.patch"; + url = "https://github.com/NixOS/nixpkgs/compare/master...nyanloutre:jellyfin-ffmpeg-init.patch"; + sha256 = "sha256-ecKrQ9EM35IFd0vbelGhapUuMYR+RTVu4KPHI81rlZM="; + }) + ]; + hostDefaults.modules = [ nixpkgs.nixosModules.notDetected {