{ pkgs, ... }: { services.udev.extraRules = '' # Keychron C2 function key fix SUBSYSTEMS=="input", ATTRS{name}==Keychron C2", RUN+="${pkgs.coreutils}/bin/echo 0 | ${pkgs.coreutils}/bin/tee /sys/module/hid_apple/parameters/fnmode" ''; }