IBus: Difference between revisions
imported>Woffs m add : |
Undo revision 17030, kept the changes for reference on older versions of Nix |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
{ | { | ||
i18n.inputMethod = { | i18n.inputMethod = { | ||
enable = true; | |||
type = "ibus"; | |||
ibus.engines = with pkgs.ibus-engines; [ /* any engine you want, for example */ anthy ]; | ibus.engines = with pkgs.ibus-engines; [ /* any engine you want, for example */ anthy ]; | ||
}; | }; | ||
Line 17: | Line 18: | ||
{{Evaluate}} | {{Evaluate}} | ||
After switching, you still need to logout from your session and login again for ibus to work correctly. | After switching, you still need to logout from your session and login again for ibus to work correctly. | ||
For nix version older than 24.11, <code>enabled = "ibus";</code> is used instead of <code>enable</code> and <code>type</code> | |||
==== Input methods ==== | ==== Input methods ==== |