summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/prefect.nix1
-rw-r--r--system/settings/hardware/keyboard-lofree.nix9
2 files changed, 10 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index f4c542a3..47a497b6 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -15,6 +15,7 @@
     ./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
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";
+      };
+    };
+  };
+}