From bc117d8bfb02838ed9590f741458087bf649d9ba Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 19 Aug 2024 23:39:02 +0200 Subject: [PATCH] frigate: Privileged mode fails to start the container --- machines/frigate/frigate/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/frigate/frigate/default.nix b/machines/frigate/frigate/default.nix index 61b957d..02975ec 100644 --- a/machines/frigate/frigate/default.nix +++ b/machines/frigate/frigate/default.nix @@ -25,7 +25,8 @@ "--shm-size=128m" "--mount" "type=tmpfs,target=/tmp/cache,tmpfs-size=1G" - "--privileged" + "--cap-add" + "CAP_PERFMON" ]; environment = { LIBVA_DRIVER_NAME = "iHD";