From 9370c69b496d914dda4fb8aae097e06f0c8bd94d Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Tue, 12 Nov 2024 09:48:29 +0100 Subject: [PATCH] add kanata config --- hosts/del/default.nix | 1 + hosts/del/kanata.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 hosts/del/kanata.nix 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)) + ''; + }; +}