diff --git a/nixos/modules/services/video/frigate.nix b/nixos/modules/services/video/frigate.nix index bc0f5d496afb..84cbdc8cf5f9 100644 --- a/nixos/modules/services/video/frigate.nix +++ b/nixos/modules/services/video/frigate.nix @@ -13,7 +13,6 @@ let filterAttrsRecursive hasPrefix makeLibraryPath - match mkDefault mkEnableOption mkPackageOption @@ -108,10 +107,6 @@ let withCoralUSB = any (d: d.type == "edgetpu" && hasPrefix "usb" d.device or "") detectors; withCoralPCI = any (d: d.type == "edgetpu" && hasPrefix "pci" d.device or "") detectors; withCoral = withCoralPCI || withCoralUSB; - - # Provide ffmpeg-full for NVIDIA hardware acceleration - ffmpegArgs = cfg.settings.ffmpeg.hwaccel_args or ""; - ffmpeg' = if match "/nvidia/" ffmpegArgs != null then pkgs.ffmpeg-full else pkgs.ffmpeg-headless; in { @@ -571,7 +566,7 @@ in path = with pkgs; [ # unfree: # config.boot.kernelPackages.nvidiaPackages.latest.bin - ffmpeg' + ffmpeg-headless libva-utils procps radeontop