custom-menu-nesting

custom-menu-nesting is a variable defined in `cus-edit.el'.
Its value is
2


Documentation:
Maximum nesting in custom menus.

You can customize this variable.