Today I Learned

Booting into Rescue Mode with a Locked Root Account

If your root account is locked (common on NixOS), systemd’s rescue mode normally refuses to start. Add systemd.setenv=SYSTEMD_SULOGIN_FORCE=1 to the kernel command line and it will drop you into a shell regardless.