Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { kmonad, ... }: { |
| 2 | imports = [ kmonad.nixosModules.default ]; |
Skyler Grey | 967d67e | 2022-10-31 00:04:18 +0000 | [diff] [blame] | 3 | |
Skyler Grey | 5eef407 | 2023-02-26 12:51:25 +0000 | [diff] [blame] | 4 | config = { |
| 5 | services.kmonad = { |
| 6 | enable = true; |
| 7 | keyboards.laptop-internal = { |
| 8 | device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd"; |
| 9 | config = builtins.readFile ./kmonad/config.kbd; |
| 10 | |
| 11 | defcfg = { |
| 12 | enable = true; |
| 13 | fallthrough = true; |
| 14 | allowCommands = true; |
| 15 | }; |
| 16 | }; |
Skyler Grey | 967d67e | 2022-10-31 00:04:18 +0000 | [diff] [blame] | 17 | }; |
Skyler Grey | 5eef407 | 2023-02-26 12:51:25 +0000 | [diff] [blame] | 18 | hardware.uinput.enable = true; |
Skyler Grey | 967d67e | 2022-10-31 00:04:18 +0000 | [diff] [blame] | 19 | }; |
| 20 | } |