add input methods to deck

This commit is contained in:
Yan Lin 2025-11-02 23:11:12 +01:00
parent 66558f419d
commit 09db4e94cd

View file

@ -42,6 +42,25 @@
};
};
# Input method configuration
i18n.inputMethod = {
enable = true;
type = "ibus";
ibus.engines = with pkgs.ibus-engines; [
libpinyin # Chinese Simplified Pinyin
mozc # Japanese (Romaji)
];
};
# Prevent automatic suspend on AC power (GNOME power settings)
programs.dconf.profiles.user.databases = [{
settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
};
};
}];
# Hardware support for Steam Deck (AMD APU)
hardware = {
enableRedistributableFirmware = true;