custom post query in a theme that pulls from the networks main site

How can i make this pull from categories on the main site and not each blog?