I have a problem using Kali with Raspberry.
I run the keyboard setup with
sudo dpkg-reconfigure keyboard-configuration
and then
setxkbmap language
and so far everything ok, the keyboard is configured and also the language.
The problem is that this configuration is reset every time you exit the operating system, so at the next start, in the login form to access kali the keys do not correspond to the symbols I want to type and that make up the user and password, so I had to search the correspondence on the keyboard and every time I have to consult these notes to enter the correct user and password and enter the kali.
How can I change the configuration to avoid this problem when accessing kali?