kanata: add laptop keyboard
This commit is contained in:
parent
26bc2e650f
commit
b073f895c1
2 changed files with 7 additions and 5 deletions
|
@ -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