From a3187e163d23a12680349c03f6fbf7015a69c255 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 19 Nov 2024 10:30:33 +0100 Subject: [PATCH] more opengl hw support --- modules/nixos/services/gui/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/nixos/services/gui/default.nix b/modules/nixos/services/gui/default.nix index bb776d6..c8d88fb 100644 --- a/modules/nixos/services/gui/default.nix +++ b/modules/nixos/services/gui/default.nix @@ -60,12 +60,18 @@ in hardware.pulseaudio.enable = false; hardware.opengl = { enable = true; + + driSupport = true; + driSupport32Bit = true; + extraPackages = with pkgs; [ onevpl-intel-gpu intel-compute-runtime intel-media-driver # LIBVA_DRIVER_NAME=iHD #intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) libvdpau-va-gl + rocmPackages.clr.icd + amdvlk ]; }; environment.sessionVariables = {