Skip to content

Migration Guide

The entire marchyo.inputMethod.* namespace (enable, enableCJK, triggerKey) has been removed. The option declarations no longer exist, so setting any of them now fails evaluation as an undefined option. Configure input methods and the IME trigger key directly through marchyo.keyboard.layouts and marchyo.keyboard.imeTriggerKey.

marchyo.inputMethod.enable = true;
marchyo.inputMethod.enableCJK = true;
marchyo.inputMethod.triggerKey = [ "Alt+grave" ];
marchyo.keyboard.layouts = [ "us" "fi" ];

Input methods are now configured directly in marchyo.keyboard.layouts:

marchyo.keyboard.layouts = [
"us"
"fi"
{ layout = "cn"; ime = "pinyin"; } # Chinese input
{ layout = "jp"; ime = "mozc"; } # Japanese input
{ layout = "kr"; ime = "hangul"; } # Korean input
];

The top-level variant option is deprecated. Use the attribute set form in layouts instead.

marchyo.keyboard = {
layouts = [ "us" ];
variant = "intl";
};
marchyo.keyboard.layouts = [
{ layout = "us"; variant = "intl"; }
];