nixos-config/sets/ime.nix

18 lines
470 B
Nix
Raw Normal View History

2023-04-11 00:55:07 +00:00
{ pkgs, ... }:
{
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-gtk ];
};
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";
2023-08-26 23:00:18 +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
}