blob: 92f29b01641ff50436479a6a42ece5330a02f4a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgs, ... }:
{
imports = [ ./kmonad.nix ];
services.kmonad = {
enable = true;
keyboards = {
k2 = {
device = "/dev/input/by-id/usb-Keychron_Keychron_K2-event-kbd";
defcfg = {
enable = true;
fallthrough = true;
allowCommands = false;
compose = { key = null; };
};
config = builtins.readFile ./kmonad.k2.kbd;
};
};
};
}
|