common/gpu/intel/default: install setcap wrapper for intel gpu tools

If I am not mistaken, this adds support for reading GPU stats as non-root, which makes sense more often that not
This commit is contained in:
Gavin John 2025-10-09 18:23:24 -07:00 committed by GitHub
parent d232c6f9cc
commit 63224688c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,6 +91,8 @@
lib.optionals useIntelVaapiDriver [ intel-vaapi-driver-32 ] lib.optionals useIntelVaapiDriver [ intel-vaapi-driver-32 ]
++ lib.optionals useIntelMediaDriver [ intel-media-driver-32 ]; ++ lib.optionals useIntelMediaDriver [ intel-media-driver-32 ];
hardware.intel-gpu-tools.enable = true;
assertions = [ assertions = [
{ {
assertion = ( assertion = (