I believe it won't affect your SS...the GPO is if you earn a pension from your own non-SS contributing work and try to take SS based on your spouse's benefits. As the ss.gov link provided above states:
When won’t my Social Security
benefits be reduced?
Generally, we won’t reduce your Social Security
benefits as a spouse, widow, or widower if you:
• Receive a government pension that’s not
based on your earnings;