{ lib, ... }: { options.programs.obs-studio.resolution = with lib; with types; { base = { x = mkOption { type = int; description = "Base resolution width."; }; y = mkOption { type = int; description = "Base resolution height."; }; }; output = { x = mkOption { type = int; description = "Output resolution width."; }; y = mkOption { type = int; description = "Output resolution height."; }; }; }; }