blob: abead7c27eb8c948eb2ba33cd52a8cc69af77919 [file] [log] [blame]
Skyler Grey252927a2022-10-18 22:18:15 +01001{ kmonad, ... }: {
2 imports = [ kmonad.nixosModules.default ];
Skyler Grey967d67e2022-10-31 00:04:18 +00003
Skyler Grey5eef4072023-02-26 12:51:25 +00004 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 Grey967d67e2022-10-31 00:04:18 +000017 };
Skyler Grey5eef4072023-02-26 12:51:25 +000018 hardware.uinput.enable = true;
Skyler Grey967d67e2022-10-31 00:04:18 +000019 };
20}