Update fcitx configuration.
This commit is contained in:
parent
f0fc250116
commit
5a07580ed3
1 changed files with 6 additions and 5 deletions
|
@ -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];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue