I have a Raspberry PI 5 with a freshly installed Debian 12 (using Raspberry PI Imager). I chose the version without a Desktop environment.
NOTE: this is a brand new environment, and I had nothing to retain (like dotfiles, etc).
Ultimately, I pushed this to here: https://github.com/bartman/nix