1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

Merge pull request #1161 from Pandapip1/enable-t480s-gpu-acceleration

Enable t480s gpu acceleration
This commit is contained in:
Jörg Thalheim 2024-10-04 17:20:41 +02:00 committed by GitHub
commit a46a7094ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,7 @@
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then
vaapiIntel vaapiIntel
else else
intel-vaapi-driver intel-vaapi-driver.override { enableHybridCodec = true; }
) )
intel-media-driver intel-media-driver
]; ];
@ -41,7 +41,7 @@
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then
vaapiIntel vaapiIntel
else else
intel-vaapi-driver intel-vaapi-driver.override { enableHybridCodec = true; }
) )
intel-media-driver intel-media-driver
]; ];

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/gpu/intel
../../../common/pc/laptop/acpi_call.nix ../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd ../../../common/pc/ssd
../. ../.