about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/profiles/gui/default.nix6
-rw-r--r--nixos/alpha/configuration.nix15
2 files changed, 6 insertions, 15 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index ac7b55b..1a4086f 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -89,6 +89,12 @@ in
       extraConfig = import ./config/sway.nix { inherit pkgs neotheme; };
     };
 
+    i18n.inputMethod.enabled = "fcitx5";
+    i18n.inputMethod.fcitx5.addons = with pkgs; [
+      fcitx5-gtk
+      fcitx5-mozc
+    ];
+
     programs = {
       foot = {
         enable = true;
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 3cef5f6..7e685d5 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -62,21 +62,6 @@
   networking.firewall.enable = true;
 
   i18n.defaultLocale = "en_US.UTF-8";
-  i18n.inputMethod.enabled = "kime";
-  i18n.inputMethod.kime.extraConfig = ''
-    engine:
-      global_hotkeys:
-        C-Space:
-          behavior: !Toggle
-          - Hangul
-          - Latin
-          result: Consume
-        AltR:
-          behavior: !Ignore
-          - Hangul
-          - Latin
-          result: Bypass
-  '';
 
   console.keyMap = "us";
   console.colors = [