diff --git a/home/default.nix b/home/default.nix index c0f21dc..1c43aff 100644 --- a/home/default.nix +++ b/home/default.nix @@ -51,6 +51,19 @@ }; }; + i18n.inputMethod = { + enabled = "fcitx5"; + fcitx5 = { + addons = with pkgs; [ + fcitx5-gtk + fcitx5-chinese-addons + fcitx5-rime + fcitx5-pinyin-moegirl + ]; + waylandFrontend = true; + }; + }; + programs = { git = { enable = true; diff --git a/os/system/configuration.nix b/os/system/configuration.nix index 5c86246..48fdb34 100644 --- a/os/system/configuration.nix +++ b/os/system/configuration.nix @@ -30,18 +30,6 @@ LC_TELEPHONE = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8"; }; - - inputMethod = { - enable = true; - type = "fcitx5"; - fcitx5.addons = with pkgs; [ - fcitx5-mozc - fcitx5-gtk - fcitx5-chinese-addons - fcitx5-rime - ]; - fcitx5.waylandFrontend = true; - }; }; services = {