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 = [