add kanata config
This commit is contained in:
parent
5c74db0347
commit
9370c69b49
2 changed files with 27 additions and 0 deletions
|
@ -5,6 +5,7 @@ _: {
|
|||
./firefox.nix
|
||||
./git.nix
|
||||
./hardware-configuration.nix
|
||||
./kanata.nix
|
||||
./profile.nix
|
||||
./programs.nix
|
||||
./ssh.nix
|
||||
|
|
26
hosts/del/kanata.nix
Normal file
26
hosts/del/kanata.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
_: {
|
||||
services.kanata = {
|
||||
enable = true;
|
||||
keyboards.kolmakdeha.config = ''
|
||||
(defsrc
|
||||
q w e r t y u i o p
|
||||
a s d f g h j k l ;
|
||||
< z x c v b n m
|
||||
)
|
||||
|
||||
(deflayer colemakdh
|
||||
q w f p b j l u y ;
|
||||
a r s t g m n e i o
|
||||
z x c d v @arr k h
|
||||
)
|
||||
|
||||
(deflayer arrows
|
||||
_ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ lft down up rght
|
||||
_ _ _ _ _ _ _ _
|
||||
)
|
||||
|
||||
(defalias arr (layer-while-held arrows))
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue