Once you start a solo 401(k) you should be able to roll an IRA balance into it if the solo 401(k) provider you choose supports that in their plan documents and backend systems. Look into that before you pick one.
As far as 401(k) contributions are concerned you can do either traditional or Roth, up to 100% of the first $23,500 of net earnings. Those are the "employee" contributions. There's no income limit for Roth contributions here because it's an employer plan, not an IRA. After that you can do "employer" contributions of 20% and these need to be pre-tax. terran is right that the pre-tax contributions do reduce your QBI deduction.
It sounds like your spouse is still employed and earning a solid amount so you can still do a spousal IRA contribution even if you put all of your own earnings into your 401(k). If you're still doing this self-employment after he retires, one thing to be aware of is that money you put into a Roth 401(k) counts as "compensation" for the purpose of calculating your IRA contribution limit, while money you put into pre-tax 401(k) does not. What this means is that if you have some low earnings you can end up putting more than all of your earnings into retirement accounts: put 100% into the Roth 401(k) and then an additional MIN($7,000, $actual_earnings) into an IRA. Can be a useful tactic if you have a bunch of money in taxable and would like to transfer some to Roth.
Also be aware that as an employer with a 401(k) there are some reporting requirements that don't apply to IRAs. If the balance ever exceeds $250k you have to file an annual report with the Department of Labor, and you also have to file a final report when you close the plan regardless of the balance. There can be some stiff financial penalties if you fail to do this properly. It didn't seem too complicated when I closed my plan last year, and nobody has told me I did it wrong yet, so here's hoping.