Unverified Commit 85dd4128 authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #321557 from JohnRTitor/amdgpu-cleanup

nixos/amdgpu: cleanup occurance of hardware.opengl
parents bb677b19 641ea1c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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