The steps to properly set your default user were submitted in a somewhat large PR (More documentation by nzbr · Pull Request #406 · nix-community/NixOS-WSL · GitHub) back in January. However, that PR still has not been merged.
Rather than wait for that PR to possibly never get resolved, it seemed to be a good idea to put the instructions here.
6 Likes