By default, the installer selects the "us" layout. With this simple enhancement, it selects the current layout (acquired by parsing localectl status output) instead of "us".
So if the user runs loadkeys or localectl set-keymap before running archinstall, they won't have to set their keymap again.
Tests and Checks
[x] I have tested the code! (on my local machine, there is no link to the ISO)
PR Description:
By default, the installer selects the "us" layout. With this simple enhancement, it selects the current layout (acquired by parsing
localectl status
output) instead of "us".So if the user runs
loadkeys
orlocalectl set-keymap
before runningarchinstall
, they won't have to set their keymap again.Tests and Checks