diff --git a/config/locale.nix b/config/locale.nix index 34158ea..5e6b3a0 100644 --- a/config/locale.nix +++ b/config/locale.nix @@ -6,8 +6,8 @@ defaultLocale = "en_US.UTF-8"; inputMethod = { - enabled = if config.services.xserver.enable then "fcitx" else null; - fcitx.engines = with pkgs.fcitx-engines; [ chewing libpinyin table-extra mozc ]; + enabled = if config.services.xserver.enable then "fcitx5" else null; + fcitx5.addons = with pkgs; [ fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra ]; }; }; }