diff options
author | sefidel <contact@sefidel.net> | 2023-07-30 13:34:26 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-07-30 13:34:26 +0900 |
commit | 58dc3f524978b6a69e4cc580e84b7bbfbb276e10 (patch) | |
tree | 6b1e24410c48a47317391880b0217efef64405af | |
parent | 9bd59a7bc51517745cc2359609c1e455f0fad86d (diff) | |
download | nixrc-58dc3f524978b6a69e4cc580e84b7bbfbb276e10.tar.gz nixrc-58dc3f524978b6a69e4cc580e84b7bbfbb276e10.zip |
feat(home/gui): move i18n.inputMethod to home
-rw-r--r-- | home/profiles/gui/default.nix | 6 | ||||
-rw-r--r-- | nixos/alpha/configuration.nix | 15 |
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 = [ |