Skip to content

Commit

Permalink
nixos/frigate: allow GPU use for video acceleration
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
mweinelt committed Nov 22, 2024
1 parent 2b56a91 commit 7411b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/video/frigate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ in

User = "frigate";
Group = "frigate";
SupplementaryGroups = optionals withCoral [ "coral" ];
SupplementaryGroups = [ "render" ] ++ optionals withCoral [ "coral" ];

UMask = "0027";

Expand Down

0 comments on commit 7411b85

Please sign in to comment.