# ROCm/HIP compute stack for AMD GPUs: rocminfo, rocm-smi and the /opt/rocm/hip # link many HIP applications look for. Off by default: a host opts in by # importing this aspect next to `amd` (the desktop host does not). { flake.modules.nixos.rocm = { pkgs, ... }: { environment.systemPackages = with pkgs.rocmPackages; [ rocminfo rocm-smi ]; # Many HIP applications look for the runtime in /opt/rocm/hip. systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ]; }; }