mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 18:28:41 +02:00
feat: persistent mozc's config & antigravity's data
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
xdg.configFile = {
|
||||
"fcitx5/profile" = {
|
||||
@@ -7,6 +7,8 @@
|
||||
# so we need to force replace it in every rebuild to avoid file conflict.
|
||||
force = true;
|
||||
};
|
||||
"mozc/config1.db".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nix-config/home/linux/gui/base/fcitx5/mozc-config1.db";
|
||||
};
|
||||
|
||||
i18n.inputMethod = {
|
||||
@@ -22,7 +24,9 @@
|
||||
# fcitx5-chinese-addons # we use rime instead
|
||||
|
||||
# Japanese
|
||||
fcitx5-mozc-ut
|
||||
# ctrl-i / F7 - convert to takakana
|
||||
# ctrl-u / F6 - convert to hiragana
|
||||
fcitx5-mozc-ut # Moze with UT dictionary
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user