Add japanese input method
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user