nì is the figurative, literary reading: to be stuck on something, to cling to it inflexibly. The image is mud-as-glue — mental mud rather than physical mud. Mainly seen in
拘泥 (to rigidly adhere to formalities) and
泥古 (to stick to ancient ways), both of which carry a critical tone.