fcitx5: init with japanese input

This commit is contained in:
Nico 2025-07-16 21:58:35 +10:00
parent 6a23977655
commit 31edf217fe
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
3 changed files with 30 additions and 1 deletions

View file

@ -24,6 +24,7 @@
./modules/desktop/default.nix
./modules/desktop/de/kde.nix
./modules/desktop/de/hyprland.nix
./modules/desktop/japanese-input.nix
./modules/desktop/login/sddm.nix
./modules/browser/firefox.nix
./modules/browser/chromium.nix

View file

@ -0,0 +1,28 @@
{ config, pkgs, ... }:
{
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.waylandFrontend = true;
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
i18n.inputMethod.fcitx5.settings.inputMethod = {
GroupOrder."0" = "Default";
"Groups/0" = {
Name = "Default";
"Default Layout" = "au";
DefaultIM = "mozc";
};
"Groups/0/Items/0".Name = "keyboard-au";
"Groups/0/Items/1".Name = "mozc";
};
environment.systemPackages = with pkgs; [
kdePackages.fcitx5-configtool
];
}

View file

@ -21,7 +21,7 @@ exec-once = walker --gapplication-service
exec-once = opensnitch-ui
exec-once = systemctl start --user polkit-gnome-authentication-agent-1.service
exec-once = fcitx5 &
exec-once = steam -silent &
exec-once = 1password --silent &