The Feds get their hooks in when a school accepts Fed money, so it’s a contractual issue, not a constitutional one. The Feds make compliance with “stuff” a requirement to get the money.
They've done the same thing with States. Citizens send their tax money to DC, then DC doles it back to the states when they toe the line.