about summary refs log tree commit diff
path: root/nixos/alpha
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-04-02 13:33:36 +0900
committersefidel <contact@sefidel.net>2022-04-02 13:33:36 +0900
commitbc94e6dbb67c95b695a297385f195fd58055bc56 (patch)
treeb81b8d03087919156cdf89f705128fdca57e4872 /nixos/alpha
parent066efabbfc0b9c261349e08dfbd076cdedb74a40 (diff)
downloadnixrc-bc94e6dbb67c95b695a297385f195fd58055bc56.tar.gz
nixrc-bc94e6dbb67c95b695a297385f195fd58055bc56.zip
feat(nixos/alpha): kime unbind right alt
Diffstat (limited to 'nixos/alpha')
-rw-r--r--nixos/alpha/configuration.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 0ce715d..2495790 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -63,6 +63,22 @@
 
   i18n.defaultLocale = "en_US.UTF-8";
   i18n.inputMethod.enabled = "kime";
+  i18n.inputMethod.kime.config = {
+    engine = {
+      global_hotkeys = {
+        C-Space = {
+          behavior = {
+            Toggle = [ "Hangul" "Latin" ];
+          };
+          result = "Consume";
+        };
+        AltR = {
+          behavior = "Ignore";
+          result = "Bypass";
+        };
+      };
+    };
+  };
 
   console.font = "${pkgs.dina-font}/share/fonts/misc/DinaMedium10.pcf.gz";
   console.colors = [