**Tax Year2018 and Earlier** Mortgage and Insurance as alimony?

After divorce, per the decree, house title was transferred to ex's name only.  Mortgage is in my name only.  I pay 100% of mortgage and insurance also per the decree as spousal maintenance.  That seems to qualify 100% as alimony for tax purposes, but looking for confirmation.  Am I reading the IRS wording correctly?