diff --git a/hosts/del/default.nix b/hosts/del/default.nix index 20bb82a..995b11c 100644 --- a/hosts/del/default.nix +++ b/hosts/del/default.nix @@ -5,6 +5,7 @@ _: { ./firefox.nix ./git.nix ./hardware-configuration.nix + ./kanata.nix ./profile.nix ./programs.nix ./ssh.nix diff --git a/hosts/del/kanata.nix b/hosts/del/kanata.nix new file mode 100644 index 0000000..7311445 --- /dev/null +++ b/hosts/del/kanata.nix @@ -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)) + ''; + }; +}