i18n: Add ibus with mozc
This commit is contained in:
parent
d7692171d8
commit
f885f3c003
15
modules/programs/i18n.nix
Normal file
15
modules/programs/i18n.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
i18n.inputMethod = {
|
||||||
|
enabled = "ibus";
|
||||||
|
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
||||||
|
};
|
||||||
|
|
||||||
|
#environment.variables = {
|
||||||
|
# # TODO: Use pam_environment
|
||||||
|
# "GTK_IM_MODULE" = "xim";
|
||||||
|
# "XMODIFIERS" = "@im=ibus";
|
||||||
|
# "QT_IM_MODULE" = "xim";
|
||||||
|
#};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user