Negotiate alominy then lose job

What will occur if you negotiate alimony then you lose your job?

If alimony terms are in a separation agreement, they are not modifiable. If alimony is set forth in a court order then it is modifiable upon a showing of a substantial change in circumstances. The loss of a job would certainly be grounds to modify.