aboutsummaryrefslogtreecommitdiff
path: root/modules/keyboard/default.nix
blob: 56daec490e078ea1926793625a088b2eee2fb3ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ ... }:
{
  services.kmonad = {
    enable = false;
    keyboards = {
      k2 = {
        name = "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;
      };
    };
  };
}