aboutsummaryrefslogtreecommitdiff
path: root/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'services.nix')
-rw-r--r--services.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/services.nix b/services.nix
index 626464f..1c85666 100644
--- a/services.nix
+++ b/services.nix
@@ -28,4 +28,25 @@
enable = true;
acceleration = "cuda";
};
+ services.kanata = {
+ enable = true;
+ keyboards = {
+ "keyboard".config = ''
+ (defsrc
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc
+ tab q w e r t y u i o p [ ] ret
+ caps a s d f g h j k l ; ' \
+ lsft z x c v b n m , . / rsft
+ lctl lmet lalt spc ralt rmet rctl
+ )
+ (deflayer qwerty
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc
+ tab q w e r t y u i o p [ ] ret
+ esc a s d f g h j k l ; ' \
+ lsft z x c v b n m , . / rsft
+ lctl lmet lalt spc ralt rmet rctl
+ )
+ '';
+ };
+};
}