Some Apple keyboards have the layout set incorrectly. As documented on the Arch Wiki, these can be fixed by adding settings to Modprobe (On NixOS,boot.extraModprobeConfig). Setting options hid_apple iso_layout=0 worked on my M2 MacBook Air.
(the force pushes were because I forgot that this PR is merging my main branch, I didn't realize that my subsequent commits would appear here as well, as well as fixing mistakes I added in the process)
Some Apple keyboards have the layout set incorrectly. As documented on the Arch Wiki, these can be fixed by adding settings to Modprobe (On NixOS,
boot.extraModprobeConfig
). Settingoptions hid_apple iso_layout=0
worked on my M2 MacBook Air.(the force pushes were because I forgot that this PR is merging my main branch, I didn't realize that my subsequent commits would appear here as well, as well as fixing mistakes I added in the process)