2023-04-11 00:55:07 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
i18n.inputMethod = {
|
|
|
|
enabled = "fcitx5";
|
2024-03-02 03:13:17 +00:00
|
|
|
fcitx5.addons = with pkgs; [
|
|
|
|
fcitx5-mozc
|
|
|
|
fcitx5-gtk
|
|
|
|
];
|
2023-04-11 00:55:07 +00:00
|
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ fcitx5-configtool ];
|
|
|
|
|
|
|
|
# Required for support in kitty, ibus/fcitx5 are somewhat compatible so this works
|
|
|
|
environment.variables.GLFW_IM_MODULE = "ibus";
|
|
|
|
|
2024-03-02 03:13:17 +00:00
|
|
|
home-manager.users.artemis.wayland.windowManager.sway.config.startup = [
|
|
|
|
{
|
|
|
|
command = "fcitx5 -d --replace";
|
|
|
|
always = true;
|
|
|
|
}
|
|
|
|
];
|
2023-04-11 00:55:07 +00:00
|
|
|
}
|