From ce6f0c7edeca219ab96a9fa368bf91059fee4576 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 20 Nov 2024 11:57:43 +0100 Subject: [PATCH] Lilim: update gpu driver configuration. --- machines/Lilim/hardware-configuration.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/machines/Lilim/hardware-configuration.nix b/machines/Lilim/hardware-configuration.nix index 980f2d2..d6ab965 100644 --- a/machines/Lilim/hardware-configuration.nix +++ b/machines/Lilim/hardware-configuration.nix @@ -55,11 +55,9 @@ in { cpu.intel.updateMicrocode = true; enableAllFirmware = false; ksm.enable = true; - opengl = { - driSupport = true; - extraPackages = with pkgs; [intel-media-driver libvdpau-va-gl libva intel-vaapi-driver vaapiVdpau intel-media-driver]; - driSupport32Bit = true; - extraPackages32 = with pkgs.pkgsi686Linux; [libvdpau-va-gl libva intel-vaapi-driver vaapiVdpau]; + graphics = { + extraPackages = with pkgs; [ (intel-vaapi-driver.override { enableHybridCodec = true; }) ]; + extraPackages32 = with pkgs.pkgsi686Linux; [ (intel-vaapi-driver.override { enableHybridCodec = true; }) ]; }; pulseaudio = {