From 641ea1c57efadf13db19b8ea4da5cd9b99d226cf Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Fri, 21 Jun 2024 21:40:11 +0530 Subject: [PATCH] nixos/amdgpu: cleanup occurance of hardware.opengl Unfortunately this got missed in https://github.com/NixOS/nixpkgs/pull/320228 --- nixos/modules/services/hardware/amdgpu.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/hardware/amdgpu.nix b/nixos/modules/services/hardware/amdgpu.nix index 24016fc64697..1952be08a17c 100644 --- a/nixos/modules/services/hardware/amdgpu.nix +++ b/nixos/modules/services/hardware/amdgpu.nix @@ -28,7 +28,7 @@ in { boot.initrd.kernelModules = lib.optionals cfg.initrd.enable [ "amdgpu" ]; - hardware.opengl = lib.mkIf cfg.opencl.enable { + hardware.graphics = lib.mkIf cfg.opencl.enable { enable = lib.mkDefault true; extraPackages = [ pkgs.rocmPackages.clr