From 7411b8562915f37d5dec7127b89cf34aabcc1424 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 22 Nov 2024 02:41:52 +0100 Subject: [PATCH] nixos/frigate: allow GPU use for video acceleration The `render` group is required to acces the graphic cards decoding, encoding and transcoding capabilities. It is required for using fancy `ffmpeg.hwaccel-args` values, like `preset-vaapi`. --- nixos/modules/services/video/frigate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/video/frigate.nix b/nixos/modules/services/video/frigate.nix index 43faa3a19ded..f04aed08f99a 100644 --- a/nixos/modules/services/video/frigate.nix +++ b/nixos/modules/services/video/frigate.nix @@ -566,7 +566,7 @@ in User = "frigate"; Group = "frigate"; - SupplementaryGroups = optionals withCoral [ "coral" ]; + SupplementaryGroups = [ "render" ] ++ optionals withCoral [ "coral" ]; UMask = "0027";