mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +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:
parent
44ae00e02e
commit
1156f4d66e
1 changed files with 1 additions and 5 deletions
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue