# AMD GPU tools — ROCm runtime, monitoring, and Vulkan utilities for gaming.
{
  config,
  lib,
  pkgs,
  ...
}:
with lib; let
  cfg = config.profiles.gaming.gpu;
in {
  options.profiles.gaming.gpu.enable = mkEnableOption "enable AMD GPU tools";

  config = mkIf cfg.enable {
    home.packages = with pkgs; [
      rocmPackages.rocm-runtime
      rocmPackages.rocm-smi
      rocmPackages.rocminfo
      vulkan-tools
    ];
  };
}
