Scrubs” scribes Garrett Donovan and Neil Goldman have sealed a rich overall deal at Universal Media Studios, where they’ve been tapped to exec produce the new NBC laffer “Community.”

Under terms of the two-year, midseven-figure deal, Donovan and Goldman will help “Community” creator Dan Harmon run the new comedy, which has scored high marks for the Peacock.

It’s the second tour of duty at NBC for Donovan and Goldman, who sealed their first overall deal with the Peacock in 2006.

“Given the economic realities out there, we’re unbelievably fortunate that they’ve chosen to invest in us again,” Goldman said. “We hope to reward their faith in us by giving them a hit show that makes them hundreds and hundreds of dollars.”

Development of other projects will initially take a back seat, however, as they launch “Community.” The duo hope to dig into new development for the 2010-11.

“We’ve been in business with them for a long time,” said NBC comedy topper Jeff Ingold. “‘Community’ is obviously a big priority for us, and we felt like their sensibilities based on the work they did on ‘Scrubs’ was a perfect match with Dan Harmon. This marriage made sense to us.”

Donovan and Goldman were on “Scrubs” for the show’s entire eight-year run, serving as exec producers over the past three seasons.

The pair spent most of their first NBC Universal deal continuing their work on “Scrubs” — which is produced by ABC Studios but aired on NBC over its first seven seasons before moving to ABC this year.

Their relationship with the Peacock also included creating the cult fave pilot “Nobody’s Watching” with Bill Lawrence. That project went through several incarnations and came close to airing after a stint on the Internet, but ultimately didn’t move forward.

Last year, Donovan and Goldman spent time on “Worst Week,” the critically acclaimed but short-lived laffer Universal produced for CBS.

Now, even though “Scrubs” is expected to come back for a ninth season, the duo decided it was time to move on — and opted to reconnect with the Peacock.

“We never got to develop during our last deal at NBC, and for the first time, we’ll be able to sift through our idea files,” Goldman said.”

“Community” revolves around an odd mix of older community college students who wind up forging unconventional friendships. Joel McHale, Gillian Jacobs and Chevy Chase are among the stars. Universal produces along with Sony Pictures TV.

Goldman and Donovan are repped by UTA.