mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-09-08 03:26:31 +02:00
framework/16-inch: Mark keyboard as internal for libinput
This addition tells libinput that the built-in keyboard is indeed internal, allowing the "Disable-While-Typing" setting to take effect. The method is explained at https://linuxtouchpad.org/libinput/2022/05/07/disable-while-typing.html.
This commit is contained in:
parent
b501c5fbf6
commit
a7432ebaef
@ -26,4 +26,14 @@
|
||||
|
||||
# Enable keyboard customization
|
||||
hardware.keyboard.qmk.enable = lib.mkDefault true;
|
||||
|
||||
# Allow `services.libinput.touchpad.disableWhileTyping` to work correctly.
|
||||
# Set unconditionally because libinput can also be configured dynamically via
|
||||
# gsettings.
|
||||
environment.etc."libinput/local-overrides.quirks".text = ''
|
||||
[Serial Keyboards]
|
||||
MatchUdevType=keyboard
|
||||
MatchName=Framework Laptop 16 Keyboard Module - ANSI Keyboard
|
||||
AttrKeyboardIntegration=internal
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user