Pipewire audio switch

Hey the new nixos wiki PipeWire - NixOS Wiki is missing a information about Pipewire on NixOS how to enable pipewire audio switch automatically on NixOS when i plug a headset ?

Did you figure out how to set this up in PipeWire in general?