Boot encrypted zfs with ssh unlock

I got it to work on my test machine, then i did some changes and did a nixos-rebuild switch and now i cant get it to work at all.
When i ssh to port 2222 that i have set i get that ssh key is not accepted, i can see that the hostkey is correct but it wont authorize my key.
Config for lab vm: nixos/bandit/configuration.nix at af78116a49333bda7a8d03024b12ba99ce5e0852 · basn/nixos · GitHub
Is there anything that i am doing wrong?

i know, i am an idiot… forgot that i had to login as root for the unlock to work DOH.