about summary refs log tree commit diff
path: root/hardware
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-08-12 01:07:23 +0200
committerBaitinq <[email protected]>2025-08-12 01:07:23 +0200
commit84347535c1cbb13c8d43060302e2453a9a9c5b6c (patch)
tree24936f600fe141ae87423928cb2c1711c6f9483d /hardware
parentHosts: Enable usbmuxd for iphone tethering (diff)
downloadnixos-config-84347535c1cbb13c8d43060302e2453a9a9c5b6c.tar.gz
nixos-config-84347535c1cbb13c8d43060302e2453a9a9c5b6c.tar.bz2
nixos-config-84347535c1cbb13c8d43060302e2453a9a9c5b6c.zip
Hardware: PC: ROCm
Diffstat (limited to '')
-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
+  ];
 }