1
0
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:
Donovan Glover 2023-05-25 10:31:13 -04:00
parent 3aa85c355b
commit b4a099214c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 13 additions and 18 deletions

View File

@ -4,11 +4,10 @@
imports = [
./dual-function-keys
./dunst
./fcitx5
./fcitx5-mozc
./fonts
./gtk
./hyprland
./mozc
./nwg-dock
./pipewire
./rofi

View File

@ -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]

View File

@ -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
'';
}];
}