How can I use "to" in this sentence?
No you can't. You can use "to" only with nouns , here you have only adjective and adverb.
As consolation you use the adjective in Nominative.
'korytarz' is a noun. You may use 'to' only with nouns that are neutral. So it would be "to biurko jest zbyt wąskie' - 'This desk is too narrow'. 'Ten' is a version of 'to' for masculine nouns.