kanata: add laptop keyboard
This commit is contained in:
parent
26bc2e650f
commit
b073f895c1
2 changed files with 7 additions and 5 deletions
|
@ -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 [ ]
|
||||
|
|
|
@ -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");
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue