# OBS Studio — open broadcaster software for streaming and recording.
{
  config,
  lib,
  pkgs,
  ...
}:
with lib; let
  cfg = config.profiles.media.obs;
in {
  options.profiles.media.obs.enable = mkEnableOption "enable OBS Studio";

  config = mkIf cfg.enable {
    home.packages = with pkgs; [
      v4l-utils
    ];

    # OBS is managed via NixOS programs.obs-studio at the system level.
    # Home-manager only installs supporting tools.
  };
}
