Within `nix-user-chroot ~/.nix bash`, the program `whoami` and `ssh` stop working because it cannot find the user for the uid. The uid doesn't change after running `nix-user-chroot`, but for some reason it can no longer find the user. A similar issue is https://github.com/NixOS/nixpkgs/issues/64665 but the solution no longer works since there's no `libnss_sss.so.2` in my system.