prefect: enable function keys on lofree keyboard
Alan Pearce alan@alanpearce.eu
Wed, 01 May 2024 13:24:44 +0200
2 files changed, 10 insertions(+), 0 deletions(-)
M system/prefect.nix → system/prefect.nix
@@ -15,6 +15,7 @@ ./settings/hardware/mouse.nix ./settings/hardware/systemd-boot.nix ./settings/hardware/nvidia-gpu.nix ./settings/hardware/keyboard.nix + ./settings/hardware/keyboard-lofree.nix ./settings/services/syncthing.nix ./settings/services/zeroconf.nix ./settings/user-interface.nix
A system/settings/hardware/keyboard-lofree.nix
@@ -0,0 +1,9 @@+{ ... }: { + systemd.tmpfiles.settings."fix-lofree-keyboard" = { + "/sys/module/hid_apple/parameters/fnmode" = { + w = { + argument = "2"; + }; + }; + }; +}