A government’s exercise of eminent domain is really a condemnation where private property is legally taken for public use. Gain (or loss) from the event is the difference between the award you received and the adjusted basis of the portion of the property taken. If the award is more than your basis, you have a gain which you report as a capital gain unless you are eligible for and opt to apply the home sale exclusion. If the award is less than your basis, you have a loss which is not deductible. Find more information in IRS Publication 544 (https://www.irs.gov/pub/irs-pdf/p544.pdf).
A business loss that exceeds current income may be carried back against income of prior years and carried forward as a deduction from future income until eliminated.