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 + ]; }; };