Emulationstation on Raspberry Pi?

Is anyone running emulationstation with retroarch on a raspberry pi successfully using NixOS?

I’ve been learning NixOS for a few weekends and trying to get it to work but so far, either the latency is incredibly high (when I omit all the recommended pi-specific nixos-hardware settings) or it gets itself into a completely locked out state where the displayManager/desktopManager can’t handle logging in or running emulationstation.

Being new to the entire language and ecosystem, I’m mostly just wondering if I’ve picked a goal that’s way more advanced than I thought or if anyone has a working example that I could try and use for comparison.