kanata: add laptop keyboard

This commit is contained in:
Charlie Root 2025-03-31 14:27:58 +02:00
commit b073f895c1
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
2 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,4 @@
;; Source layer for my DasKeyboard 4 Professional
;; Source layer for my DasKeyboard 4 Professional and my Laptop
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]

View file

@ -1,7 +1,4 @@
{
...
}:
{
{...}: {
services.kanata = {
enable = true;
@ -9,5 +6,10 @@
devices = ["/dev/input/by-id/usb-Metadot_-_Das_Keyboard_Das_Keyboard-event-kbd"];
config = builtins.readFile (./. + "/main.kbd");
};
keyboards.laptop = {
devices = ["/dev/input/by-path/platform-i8042-serio-0-event-kbd"];
config = builtins.readFile (./. + "/main.kbd");
};
};
}