fcitx5: init with japanese input
This commit is contained in:
parent
6a23977655
commit
31edf217fe
3 changed files with 30 additions and 1 deletions
28
modules/desktop/japanese-input.nix
Normal file
28
modules/desktop/japanese-input.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue