Files
nixos/modules/desktop/fcitx5.nix
luochen570 b2baaa5f5f chore: upgrade nixpkgs/home-manager to 26.05 and re-lock
- nixpkgs: nixos-25.05 -> nixos-26.05 (rev 70cc4559)
- home-manager: release-25.05 -> release-26.05
- fix 26.05 breaking changes: fcitx5-configtool/fcitx5-chinese-addons rename,
  resolved.extraConfig -> settings.Resolve, amdvlk removed (RADV default),
  desktop: import missing hardware-configuration.nix
- home/git.nix: migrate deprecated userName/extraConfig to settings
2026-08-13 04:17:18 +08:00

20 lines
408 B
Nix

{ pkgs, ... }:
{
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-rime
qt6Packages.fcitx5-configtool
fcitx5-gtk
qt6Packages.fcitx5-chinese-addons
];
};
environment.sessionVariables = {
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
SDL_IM_MODULE = "fcitx";
GLFW_IM_MODULE = "fcitx";
};
}