mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 18:08:38 +08:00
treewide: drop hardware.amdgpu.amdvlk option
This is now provided in nixpkgs (see https://github.com/NixOS/nixpkgs/pull/318175).
This commit is contained in:
@@ -6,9 +6,6 @@
|
||||
) // {
|
||||
default = true;
|
||||
};
|
||||
options.hardware.amdgpu.amdvlk = lib.mkEnableOption (lib.mdDoc
|
||||
"use amdvlk drivers instead mesa radv drivers"
|
||||
);
|
||||
options.hardware.amdgpu.opencl = lib.mkEnableOption (lib.mdDoc
|
||||
"rocm opencl runtime (Install rocmPackages.clr and rocmPackages.clr.icd)"
|
||||
) // {
|
||||
@@ -27,15 +24,6 @@
|
||||
(lib.mkIf config.hardware.amdgpu.loadInInitrd {
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
})
|
||||
(lib.mkIf config.hardware.amdgpu.amdvlk {
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
];
|
||||
|
||||
hardware.opengl.extraPackages32 = with pkgs; [
|
||||
driversi686Linux.amdvlk
|
||||
];
|
||||
})
|
||||
(lib.mkIf config.hardware.amdgpu.opencl {
|
||||
hardware.opengl.extraPackages =
|
||||
if pkgs ? rocmPackages.clr
|
||||
|
||||
Reference in New Issue
Block a user