Nothing in this chapter limits the effect of a surviving spouse's waiver of rights in community property under Chapter 1 (commencing with Section 140) of Part 3 of Division 2 or other instrument or agreement that affects a married person's interest in community property.
Ca. Prob. Code § 5013