diff --git a/common/gpu/amd/default.nix b/common/gpu/amd/default.nix index e86bb01..c3b38c2 100644 --- a/common/gpu/amd/default.nix +++ b/common/gpu/amd/default.nix @@ -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)" ) // { @@ -31,16 +29,12 @@ }) (lib.mkIf config.hardware.amdgpu.amdvlk { hardware.opengl.extraPackages = with pkgs; [ - rocm-opencl-icd - rocm-opencl-runtime amdvlk ]; 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; [