Resetting your password on NixOS

What to do after if you accidentally lock yourself out When messing around with my NixOS config during an install, I managed to accidentally log myself out of my system by setting my…