The rssh package did not have the 'shellPath' attribute, so it could not be used as the default shell for a nixos user. I fixed this by adding the attribute.