I'm not a solar expert but I do have a solar system installed. To answer the OP's question, solar would be worthwhile, even under the new net metering agreement (NEM 3). However, the breakeven cost is extended. In California, the estimated time is 9-10 years under NEM3. And it is highly incentivized to install storage cells to avoid high time of use (TOU) periods, where you are charged much more for energy. Theoretically, your car could assist during these periods if we had V2H enabled.
This web page will help explain NEM3 and perhaps help with your decision about installing solar
On December 15th, 2022, the California Public Utilities Commission (CPUC) approved the “NEM 3.0” proposal, slashing net metering benefits for California customers. However, solar can still be viable, as long as you plan your investment right.
projectsolar.com