Skip to content

Migration Guide

The marchyo.inputMethod.* options have been removed. Using marchyo.inputMethod.enable = true will cause a build failure with a migration message.

marchyo.inputMethod.enable = true;
marchyo.inputMethod.enableCJK = true;
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"; }
];

Deprecated: marchyo.inputMethod.triggerKey

Section titled “Deprecated: marchyo.inputMethod.triggerKey”

This option is inert (has no effect). Use marchyo.keyboard.imeTriggerKey instead:

# Old (no effect):
marchyo.inputMethod.triggerKey = [ "Alt+grave" ];
# New:
marchyo.keyboard.imeTriggerKey = [ "Alt+grave" ];

This option is inert (has no effect). Add CJK layouts directly to marchyo.keyboard.layouts:

# Old (no effect):
marchyo.inputMethod.enableCJK = true;
# New:
marchyo.keyboard.layouts = [
"us"
{ layout = "cn"; ime = "pinyin"; }
{ layout = "jp"; ime = "mozc"; }
{ layout = "kr"; ime = "hangul"; }
];