IBus: Difference between revisions
→Custom emojis: Improve diction. |
m →Installation: Format code block (using nixfmt-rfc-style) |
||
Line 4: | Line 4: | ||
Enabling IBus is described in the [https://nixos.org/nixos/manual/index.html#module-services-input-methods-ibus manual]. To enable it is as follows: | Enabling IBus is described in the [https://nixos.org/nixos/manual/index.html#module-services-input-methods-ibus manual]. To enable it is as follows: | ||
{{file|3={pkgs, lib, ...}: | {{file|3={ pkgs, lib, ... }: | ||
{ | { | ||
i18n.inputMethod = { | |||
enable = true; | |||
type = "ibus"; | |||
ibus.engines = with pkgs.ibus-engines; [ | |||
# Your engines here | |||
]; | |||
}; | |||
}|name=/etc/nixos/configuration.nix|lang=nix}}Available engines are listed under the <code>pkgs.ibus-engines</code> attribute set. The list of available engines can be viewed in the documentation for the {{nixos:option|i18n.inputMethod.ibus.engines}}option. | }|name=/etc/nixos/configuration.nix|lang=nix}}Available engines are listed under the <code>pkgs.ibus-engines</code> attribute set. The list of available engines can be viewed in the documentation for the {{nixos:option|i18n.inputMethod.ibus.engines}}option. | ||