mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 18:38:44 +08:00
gpu/intel: cleanup vdpau variable
This commit is contained in:
@@ -26,10 +26,6 @@
|
|||||||
config.hardware.intelgpu.driver
|
config.hardware.intelgpu.driver
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = {
|
|
||||||
VDPAU_DRIVER = lib.mkIf config.hardware.graphics.enable (lib.mkDefault "va_gl");
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
(
|
(
|
||||||
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then
|
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then
|
||||||
|
|||||||
Reference in New Issue
Block a user