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";
|
defaultLocale = "en_US.UTF-8";
|
||||||
supportedLocales = ["all"];
|
supportedLocales = ["all"];
|
||||||
inputMethod = {
|
inputMethod = {
|
||||||
enabled =
|
enable = (lib.elem "desktop" config.machine.services);
|
||||||
if (lib.elem "desktop" config.machine.services)
|
type = "fcitx5";
|
||||||
then "fcitx5"
|
fcitx5 = {
|
||||||
else null;
|
waylandFrontend = true;
|
||||||
fcitx5.addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra];
|
addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue