From 87c258312cfbce35d863d49bd511de6a60902b6a Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Sat, 30 May 2026 22:02:32 +0200 Subject: [PATCH] fix keyboards Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/programs/ghostty/default.nix | 2 -- nixos/utils.nix | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) 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;