all repos — nixfiles @ d37c7a5600cd4a19e881e7818306a3404dcdc0e9

System and user configuration, managed by nix and home-manager

prefect: enable function keys on lofree keyboard
Alan Pearce alan@alanpearce.eu
Wed, 01 May 2024 13:24:44 +0200
commit

d37c7a5600cd4a19e881e7818306a3404dcdc0e9

parent

c6cc49438396e4bfe678c0334c7e22bd3edc0f3c

2 files changed, 10 insertions(+), 0 deletions(-)

jump to
M system/prefect.nixsystem/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";
+      };
+    };
+  };
+}