1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00

AMD: disable amdvlk install by default

Nobody recommends using amdvlk over RADV.
Also don't set environment variable that sets the use of RADV when installing amdvlk
This commit is contained in:
Martino Fontana 2023-02-17 15:27:13 +01:00
parent 44ae00e02e
commit 1156f4d66e

View file

@ -8,9 +8,7 @@
};
options.hardware.amdgpu.amdvlk = lib.mkEnableOption (lib.mdDoc
"use amdvlk drivers instead mesa radv drivers"
) // {
default = true;
};
);
options.hardware.amdgpu.opencl = lib.mkEnableOption (lib.mdDoc
"rocm opencl runtime (Install rocm-opencl-icd and rocm-opencl-runtime)"
) // {
@ -39,8 +37,6 @@
hardware.opengl.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
environment.variables.AMD_VULKAN_ICD = lib.mkDefault "RADV";
})
(lib.mkIf config.hardware.amdgpu.opencl {
hardware.opengl.extraPackages = with pkgs; [