Add japanese input method

This commit is contained in:
2026-08-21 20:15:46 +02:00
parent 58b2d7fda9
commit 8340426ce2
2 changed files with 20 additions and 1 deletions
+15 -1
View File
@@ -1,4 +1,4 @@
{
{pkgs, ...}: {
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@@ -23,4 +23,18 @@
console.keyMap = "de";
time.timeZone = "Europe/Berlin";
## Japanese input, env vars and servic start are configured in hyprland config
## Configure via program fcitx5-configuration
## There, add the mozc input for japanese
## This could also be done declaratively in this config, see: https://wiki.nixos.org/wiki/Fcitx5
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk # Ensures IME works in GTK applications
];
fcitx5.waylandFrontend = true; # compability with wayland
};
}