The States need to attack illegal immigration in areas where they have primacy. If, for example, a State refused to issue birth certs for children born to illegals, that is solely within its purview. If the feds disagree, they can issue their own certs.
If a State were to require EVERY citizen to get a work permit (which could be very pro forma, issued with drivers licences for example), and require everyone to provide a permit to work, that is not stepping on fed immigration law.
States are going to have to be more creatively aggressive about enforcing their end of federalism. To me, that’s the upshot of today’s ruling (and the pattern that has led to it).
No, that would be a "civil rights" violation. /s