Coredumps in WSL

Anyone managed to get systemd-coredump to work on NixOS-WSL? I googled all I could but did not find anyone getting it to work yet. Learned from AI that the kernel in WSL is shared between all distros you run on your windows box, so the coredump handler is shared between all distros, so ubuntu could interfere with NixOS if you are unlucky.

The current error I get is pipefail from the kernel trying to write to the systemd coredump handler.