Thanks a lot. I’ve tried poking around and following the stack trace but I couldn’t fix it. Any general advice towards debugging this issue?
EDIT: maybe this commit is related?
EDIT2: a comment in this issue describes a similar infinite recursion problem: gnome3 logout button doesn't show · Issue #100108 · NixOS/nixpkgs · GitHub