summary refs log tree commit diff stats
path: root/system/settings/hardware
diff options
context:
space:
mode:
authorAlan Pearce2024-05-01 13:24:44 +0200
committerAlan Pearce2024-05-02 15:12:19 +0200
commitd37c7a5600cd4a19e881e7818306a3404dcdc0e9 (patch)
tree92f875eb5392d4e6955bd46a83e56bb684944b20 /system/settings/hardware
parentc6cc49438396e4bfe678c0334c7e22bd3edc0f3c (diff)
downloadnixfiles-d37c7a5600cd4a19e881e7818306a3404dcdc0e9.tar.lz
nixfiles-d37c7a5600cd4a19e881e7818306a3404dcdc0e9.tar.zst
nixfiles-d37c7a5600cd4a19e881e7818306a3404dcdc0e9.zip
prefect: enable function keys on lofree keyboard
Diffstat (limited to 'system/settings/hardware')
-rw-r--r--system/settings/hardware/keyboard-lofree.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/settings/hardware/keyboard-lofree.nix b/system/settings/hardware/keyboard-lofree.nix
new file mode 100644
index 00000000..e342acc6
--- /dev/null
+++ b/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";
+      };
+    };
+  };
+}