Files
nixos-hardware/apple
Sophie Cheung 701eb9f269 apple/t2: pin kernel releases; upgrade version and patches
disconnect kernel versions from nixpkgs, which should avoid breaking users'
config when nixpkgs has a new version and some patches are incompatible,
and when a PR updating the patches are still waiting to be merged, like
in #2027.

Signed-off-by: Sophie Cheung <git@soopy.moe>
2026-10-07 20:05:18 +08:00
..
2026-01-11 09:59:00 +01:00
2026-01-11 09:59:00 +01:00

Switching Cmd and Alt/AltGr

This will switch the left Alt and Cmd key as well as the right Alt/AltGr and Cmd key.

boot.kernelParams = [
  "hid_apple.swap_opt_cmd=1"
];

Reference: https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr