add kanata config

This commit is contained in:
jacekpoz 2024-11-12 09:48:29 +01:00
parent 5c74db0347
commit 9370c69b49
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
2 changed files with 27 additions and 0 deletions

View file

@ -5,6 +5,7 @@ _: {
./firefox.nix ./firefox.nix
./git.nix ./git.nix
./hardware-configuration.nix ./hardware-configuration.nix
./kanata.nix
./profile.nix ./profile.nix
./programs.nix ./programs.nix
./ssh.nix ./ssh.nix

26
hosts/del/kanata.nix Normal file
View 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))
'';
};
}