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:
K900
2024-06-13 09:51:03 +03:00
parent 9e848e173c
commit 291c3ee610
4 changed files with 8 additions and 41 deletions

View File

@@ -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