From 0f1f716a56e69f43f800b28359e6b4520fc2e7fa Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Tue, 25 Jun 2024 19:32:41 +0530 Subject: update --- modules/amdgpu.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/amdgpu.nix b/modules/amdgpu.nix index fe7f898..430faf3 100644 --- a/modules/amdgpu.nix +++ b/modules/amdgpu.nix @@ -1,20 +1,15 @@ { pkgs, config, ... }: { - hardware.opengl = { - enable = true; - driSupport = true; - driSupport32Bit = true; - }; - - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.enable = true; + hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk vaapiVdpau libvdpau-va-gl ]; - hardware.opengl.extraPackages32 = with pkgs; [ + hardware.graphics.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ]; -- cgit v1.2.3