To configure a Void Linux host located in the United Kingdom to make correct use of a British(English) UK keyboard, do the following:
Edit /etc/rc.conf, set the following values:
KEYMAP="uk"
TIMEZONE="Europe/London"
Then save your changes.
Check which locales are installed:$ locale -a
For the UK, you will need en_GB.utf8 and en_GB.iso88591.
These are likely to be commented out in the default install. Uncomment these in the locales configuration…$ sudo nano /etc/default/libc-locales
When you have saved your changes, force regeneration of the required locales…$ sudo xbps-reconfigure -f glibc-locales
You will get confirmation on screen. Logout, then login and test your £ sign on the keyboard.