Hi, and thank you for taking the time to read this. I am currently experimenting with learning either Korean, or Mandarin Chinese. I am currently trying to create a configuration to be able to write in both as needed. Currently I cannot seem to get anything to work, at all. And since I have no experience working with these systems before using nix. I am really struggling to tell if it is a NixOS configuration issue or a language specific issue. Below are the changes I have made to my configuration based on the manual, and a few other posts I have found.
Link to my configuration: GitHub - IronShark-Studios/Technonomicon: Personal System Configurations
utf.nix a sub file of my configuration.nix
supportedLocales = [
"en_US.UTF-8/UTF-8"
"zh_CN.UTF-8/UTF-8"
"ko_KR.UTF-8/UTF-8"
];
inputMethod = {
# enabled = "ibus";
# type = "ibus";
# ibus = {
# engines = with pkgs.ibus-engines; [ libpinyin hangul ];
# };
enable = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx-gtk
fcitx-chinese-addons
fcitx-hangul
fcitx-configtool
];
};
I did originally try with ibus but most resources seemed to talk more about fcitx5. I left it in as comments incase it was needed latter.
bash.nix
programs.bash = {
enable = true;
loginShellInit = "
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
";
};
hyprland.conf
input {
kb_layout = us,kr
kb_options = caps:swapescape,grp:alt_9_toggle
follow_mouse = 2
sensitivity = 0
touchpad {
natural_scroll = no
}
the alt 9 was a temporary keybinding. My goal was right alt caps lock / escape. Not sure how that is counted since I switched it.
Any and all help is appreciated. Both with getting what is currently shown working. Or with managing these types of system in general if you have experience. As I am currently very lost.