diff options
author | ene <ene@sils.com> | 2023-04-03 08:47:10 +0200 |
---|---|---|
committer | ene <ene@sils.com> | 2023-04-03 08:47:10 +0200 |
commit | a12774728b56b71e4b00912a2bb71ba5cd69d8a6 (patch) | |
tree | 7a2466c5742ecf138a5f7a9eede36311c8c89748 /hosts/tiamat/hardware/gpu.nix | |
parent | Fix(host/tiamat/gpu): Remove unneeded drivers (diff) | |
download | nixos-config-a12774728b56b71e4b00912a2bb71ba5cd69d8a6.zip |
Fix(host/tiamat): Update to new install
Diffstat (limited to '')
-rw-r--r-- | hosts/tiamat/hardware/gpu.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/tiamat/hardware/gpu.nix b/hosts/tiamat/hardware/gpu.nix index 9649c770..6a28eaa4 100644 --- a/hosts/tiamat/hardware/gpu.nix +++ b/hosts/tiamat/hardware/gpu.nix @@ -4,11 +4,23 @@ 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"; + hardware.opengl = { enable = true; extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl + + amdvlk # or directly through mesa + amd-media-driver # libva ]; }; } |