mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
feat: persistent mozc's config & antigravity's data
This commit is contained in:
8
home/linux/gui/base/fcitx5/README.md
Normal file
8
home/linux/gui/base/fcitx5/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# fcitx5 - IME
|
||||
|
||||
## Available Configurations
|
||||
|
||||
- `profile` → Symlink will be created at: `~/.config/fcitx5/profile`
|
||||
- `config1.db` (Mozc config) → Symlink will be created at: `~/.config/mozc/config1.db`
|
||||
- Main changes from the defaults: use half-width for all alphabets, numbers, and punctuation.
|
||||
- https://github.com/google/mozc/blob/2.30.5544.102/docs/configurations.md
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
BIN
home/linux/gui/base/fcitx5/mozc-config1.db
Normal file
BIN
home/linux/gui/base/fcitx5/mozc-config1.db
Normal file
Binary file not shown.
@@ -143,6 +143,7 @@ in
|
||||
|
||||
# google ai editor (antigravity)
|
||||
".config/Antigravity"
|
||||
".antigravity"
|
||||
|
||||
# ai agents
|
||||
".claude"
|
||||
@@ -307,6 +308,9 @@ in
|
||||
# Digital Painting
|
||||
".local/share/krita"
|
||||
|
||||
# Japanese IME
|
||||
".config/mozc" # used by fcitx5-mozc
|
||||
|
||||
".config/nushell"
|
||||
];
|
||||
files = [
|
||||
|
||||
Reference in New Issue
Block a user