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 = [
|
imports = [
|
||||||
./dual-function-keys
|
./dual-function-keys
|
||||||
./dunst
|
./dunst
|
||||||
./fcitx5
|
./fcitx5-mozc
|
||||||
./fonts
|
./fonts
|
||||||
./gtk
|
./gtk
|
||||||
./hyprland
|
./hyprland
|
||||||
./mozc
|
|
||||||
./nwg-dock
|
./nwg-dock
|
||||||
./pipewire
|
./pipewire
|
||||||
./rofi
|
./rofi
|
||||||
|
@ -5,6 +5,18 @@
|
|||||||
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
|
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
|
||||||
|
|
||||||
home-manager.sharedModules = [{
|
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".force = true;
|
||||||
xdg.configFile."fcitx5/config".text = ''
|
xdg.configFile."fcitx5/config".text = ''
|
||||||
[Hotkey]
|
[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