diff --git a/nixos/modules/services/video/frigate.nix b/nixos/modules/services/video/frigate.nix index 61cd1fda5c0705..a1fb2dcad8ca30 100644 --- a/nixos/modules/services/video/frigate.nix +++ b/nixos/modules/services/video/frigate.nix @@ -8,6 +8,9 @@ let inherit (lib) any attrValues + converge + elem + filterAttrsRecursive hasPrefix makeLibraryPath mkDefault @@ -23,7 +26,7 @@ let format = pkgs.formats.yaml { }; - filteredConfig = lib.converge (lib.filterAttrsRecursive (_: v: ! lib.elem v [ null ])) cfg.settings; + filteredConfig = converge (filterAttrsRecursive (_: v: ! elem v [ null ])) cfg.settings; cameraFormat = with types; submodule { freeformType = format.type; @@ -548,7 +551,7 @@ in libva-utils procps radeontop - ] ++ lib.optionals (!stdenv.hostPlatform.isAarch64) [ + ] ++ optionals (!stdenv.hostPlatform.isAarch64) [ # not available on aarch64-linux intel-gpu-tools ];