nixos/frigate: inherit required functions from lib

This commit is contained in:
Martin Weinelt
2024-11-22 17:59:36 +01:00
parent 81001625a7
commit a810c07ff2
+5 -2
View File
@@ -8,6 +8,9 @@ let
inherit (lib)
any
attrValues
converge
elem
filterAttrsRecursive
hasPrefix
makeLibraryPath
match
@@ -24,7 +27,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;
@@ -549,7 +552,7 @@ in
libva-utils
procps
radeontop
] ++ lib.optionals (!stdenv.hostPlatform.isAarch64) [
] ++ optionals (!stdenv.hostPlatform.isAarch64) [
# not available on aarch64-linux
intel-gpu-tools
];