From f08555296caa407b4de1d9f87ee6af6eac0fcbef Mon Sep 17 00:00:00 2001 From: voidarc Date: Tue, 30 Jun 2026 20:33:44 +0100 Subject: [PATCH] added rocm drivers --- configs/configuration-pc.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/configuration-pc.nix b/configs/configuration-pc.nix index 299886f..fded34b 100644 --- a/configs/configuration-pc.nix +++ b/configs/configuration-pc.nix @@ -28,10 +28,16 @@ extraPackages = with pkgs; [ libva-vdpau-driver libvdpau-va-gl + rocmPackages.clr.icd ]; enable32Bit = true; }; + # For rOCM + systemd.tmpfiles.rules = [ + "L+ /opt/rocm - - - - ${pkgs.rocmPackages.clr}" + ]; + hardware.amdgpu.opencl.enable = true; boot.kernelParams = [