From f1212e72c807c8a294652f774d11814f81464faa Mon Sep 17 00:00:00 2001 From: rope Date: Thu, 16 Jul 2026 11:57:38 +0100 Subject: [PATCH] macbook: swap fn/left-ctrl via hid_apple Co-Authored-By: Claude Fable 5 --- hosts/FredOS-Macbook.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/FredOS-Macbook.nix b/hosts/FredOS-Macbook.nix index 847f220..c43a642 100644 --- a/hosts/FredOS-Macbook.nix +++ b/hosts/FredOS-Macbook.nix @@ -27,6 +27,9 @@ boot.loader.systemd-boot.configurationLimit = 5; boot.initrd.systemd.enable = true; + # Swap Fn and left Ctrl on the internal Apple keyboard (PC layout) + boot.kernelParams = [ "hid_apple.swap_fn_leftctrl=1" ]; + # Allow video group (fred) to write to /sys/class/backlight and /sys/class/leds # (screen brightness and keyboard backlight) hardware.acpilight.enable = true;