If your crypto mining is classed as a business, you should be able to claim the infrastructure needed to run the operation as a tax-deductible expense.
There are also a variety of grants and tax exemptions available for homes and businesses with solar panel installations. Currently, the U.S. government offers a 30% tax credit for solar systems installed through 2032. This tax credit will fall to 26% in 2033 and 22% in 2034.