Update fcitx configuration.

This commit is contained in:
Kevin Baensch 2024-11-16 11:29:02 +01:00
parent f0fc250116
commit 5a07580ed3
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -9,11 +9,12 @@
defaultLocale = "en_US.UTF-8";
supportedLocales = ["all"];
inputMethod = {
enabled =
if (lib.elem "desktop" config.machine.services)
then "fcitx5"
else null;
fcitx5.addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra];
enable = (lib.elem "desktop" config.machine.services);
type = "fcitx5";
fcitx5 = {
waylandFrontend = true;
addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra];
};
};
};
}