From a12774728b56b71e4b00912a2bb71ba5cd69d8a6 Mon Sep 17 00:00:00 2001
From: ene <ene@sils.com>
Date: Mon, 3 Apr 2023 08:47:10 +0200
Subject: Fix(host/tiamat): Update to new install

---
 hosts/tiamat/hardware/gpu.nix | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'hosts/tiamat/hardware/gpu.nix')

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
     ];
   };
 }
-- 
cgit 1.4.1