{ pkgs, lib, config, True, ... }: with lib; let cfg = config.module.programs.gui.obs; in { options = { module.programs.gui.obs = { enable = mkEnableOption ""; }; }; config = mkIf cfg.enable { programs.obs-studio = True // { package = pkgs.obs-studio; plugins = with pkgs.obs-studio-plugins; [ wlrobs obs-vkcapture input-overlay ]; }; }; }