about summary refs log tree commit diff stats
path: root/hosts/IDOHVE/hardware/gpu.nix
blob: c3df51ae1af9a9232ebb4dde2594c05e0b229e22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  config,
  pkgs,
  lib,
  ...
}: {
  hardware.opengl.extraPackages = with pkgs; [
    rocm-opencl-icd # open-cl
    amdvlk # or directly through mesa
    amd-media-driver # libva
  ];

  # Force radv, TODO is this logical?
  environment.variables.AMD_VULKAN_ICD = "RADV";
}