forked from extern/nix-config
Merge mozc with fcitx5
Since both are used at the same time, only importing one or the other doesn't make sense.
This commit is contained in:
parent
3aa85c355b
commit
b4a099214c
@ -4,11 +4,10 @@
|
||||
imports = [
|
||||
./dual-function-keys
|
||||
./dunst
|
||||
./fcitx5
|
||||
./fcitx5-mozc
|
||||
./fonts
|
||||
./gtk
|
||||
./hyprland
|
||||
./mozc
|
||||
./nwg-dock
|
||||
./pipewire
|
||||
./rofi
|
||||
|
@ -5,6 +5,18 @@
|
||||
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
|
||||
|
||||
home-manager.sharedModules = [{
|
||||
xdg.configFile."mozc/ibus_config.textproto".force = true;
|
||||
xdg.configFile."mozc/ibus_config.textproto".text = ''
|
||||
engines {
|
||||
name : "mozc-jp"
|
||||
longname : "Mozc"
|
||||
layout : "default"
|
||||
layout_variant : ""
|
||||
layout_option : ""
|
||||
rank : 80
|
||||
}
|
||||
active_on_launch: True
|
||||
'';
|
||||
xdg.configFile."fcitx5/config".force = true;
|
||||
xdg.configFile."fcitx5/config".text = ''
|
||||
[Hotkey]
|
@ -1,16 +0,0 @@
|
||||
{
|
||||
home-manager.sharedModules = [{
|
||||
xdg.configFile."mozc/ibus_config.textproto".force = true;
|
||||
xdg.configFile."mozc/ibus_config.textproto".text = ''
|
||||
engines {
|
||||
name : "mozc-jp"
|
||||
longname : "Mozc"
|
||||
layout : "default"
|
||||
layout_variant : ""
|
||||
layout_option : ""
|
||||
rank : 80
|
||||
}
|
||||
active_on_launch: True
|
||||
'';
|
||||
}];
|
||||
}
|
Loading…
Reference in New Issue
Block a user