diff --git a/home/programs/ghostty/default.nix b/home/programs/ghostty/default.nix index 6cc4b32..292d0b2 100644 --- a/home/programs/ghostty/default.nix +++ b/home/programs/ghostty/default.nix @@ -14,8 +14,6 @@ in { home.sessionVariables = { TERMINAL = "ghostty"; TERM = "ghostty"; - XMODIFIERS = "@im=none"; - GTK_IM_MODULE = "simple"; }; programs.ghostty = { diff --git a/nixos/utils.nix b/nixos/utils.nix index 29de315..c50e268 100644 --- a/nixos/utils.nix +++ b/nixos/utils.nix @@ -33,6 +33,11 @@ in { timeZone = timeZone; }; i18n.defaultLocale = defaultLocale; + i18n.inputMethod = { + enable = true; + type = "fcitx5"; + fcitx5.addons = with pkgs; [ fcitx5-gtk ]; + }; i18n.extraLocaleSettings = { LC_ADDRESS = extraLocale; LC_IDENTIFICATION = extraLocale;