about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-06-21 21:40:11 +0530
committerJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-06-21 21:40:11 +0530
commit641ea1c57efadf13db19b8ea4da5cd9b99d226cf (patch)
tree3a680bffab098602200c15d77d428743a890cf3e /nixos/modules
parentb1acf7bab9ab67a0dcb32a15119f5154bbcb2e11 (diff)
nixos/amdgpu: cleanup occurance of hardware.opengl
Unfortunately this got missed in
https://github.com/NixOS/nixpkgs/pull/320228
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/hardware/amdgpu.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/amdgpu.nix b/nixos/modules/services/hardware/amdgpu.nix
index 24016fc646975..1952be08a17cf 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