-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkmonad.nix
More file actions
34 lines (30 loc) · 780 Bytes
/
kmonad.nix
File metadata and controls
34 lines (30 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{inputs, ...}: {
imports = [
inputs.kmonad.nixosModules.default
];
services.kmonad = {
enable = false;
keyboards.internal = {
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
defcfg = {
enable = true;
fallthrough = true;
};
config = ''
(defsrc
a s d f j k l ;
)
(deflayer U_BASE
(tap-hold-next-release 100 a met)
(tap-hold-next-release 100 s alt)
(tap-hold-next-release 100 d ctl)
(tap-hold-next-release 100 f sft)
(tap-hold-next-release 100 j sft)
(tap-hold-next-release 100 k ctl)
(tap-hold-next-release 100 l alt)
(tap-hold-next-release 100 ; met)
)
'';
};
};
}