about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hardware/pc/hardware.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hardware/pc/hardware.nix b/hardware/pc/hardware.nix
index df982bf..1528835 100644
--- a/hardware/pc/hardware.nix
+++ b/hardware/pc/hardware.nix
@@ -38,6 +38,17 @@ in {
 
     graphics = {
       enable = true;
+      extraPackages = with pkgs; [
+        rocmPackages.clr.icd
+      ];
     };
   };
+
+  systemd.tmpfiles.rules = [
+    "L+    /opt/rocm/hip   -    -    -     -    ${pkgs.rocmPackages.clr}"
+  ];
+
+  environment.systemPackages = with pkgs; [
+    clinfo
+  ];
 }