From cf362dd3d9d6890e40a6bedc467286602b6a9823 Mon Sep 17 00:00:00 2001 From: osbm Date: Thu, 11 Dec 2025 09:30:54 +0300 Subject: [PATCH] fix fcifx-mozc japanese input --- modules/nixos/system/i18n.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/nixos/system/i18n.nix b/modules/nixos/system/i18n.nix index ce15f72..5d60ff1 100644 --- a/modules/nixos/system/i18n.nix +++ b/modules/nixos/system/i18n.nix @@ -28,11 +28,15 @@ inputMethod = { type = "fcitx5"; enable = !config.osbmModules.desktopEnvironment.none; - fcitx5.addons = with pkgs; [ - fcitx5-mozc - fcitx5-gtk - fcitx5-nord # a color theme - ]; + fcitx5.addons = + with pkgs; + [ + fcitx5-gtk + fcitx5-nord # a color theme + ] + ++ lib.optionals pkgs.stdenv.hostPlatform.isx86 [ + fcitx5-mozc # Not available on aarch64-linux + ]; }; };