Merge pull request #321557 from JohnRTitor/amdgpu-cleanup

nixos/amdgpu: cleanup occurance of hardware.opengl
This commit is contained in:
K900
2024-06-21 19:12:52 +03:00
committed by GitHub
+1 -1
View File
@@ -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