blob: 2f720d778530b5c9225ca83cb99b4280d68b5aee (
plain)
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
35
36
|
{ config, pkgs, unstable, unstable-small, lib, ... }:
{
options.services.keyd-qol.enable = lib.mkEnableOption "keyd service for quality-of-life improvements";
config = lib.mkIf config.services.keyd-qol.enable {
services.keyd.enable = true;
services.keyd.keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
capslock = "overload(control, esc)";
insert = "S-insert";
};
};
};
sun = {
ids = [
# HHKB Hybrid
"04fe:0021"
];
settings = {
main = {
control = "overload(control, esc)";
insert = "S-insert";
};
};
};
};
};
}
|