diff options
Diffstat (limited to 'nix/modules/home/fcitx.nix')
| -rw-r--r-- | nix/modules/home/fcitx.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/modules/home/fcitx.nix b/nix/modules/home/fcitx.nix index b4bb965..1907590 100644 --- a/nix/modules/home/fcitx.nix +++ b/nix/modules/home/fcitx.nix @@ -3,12 +3,12 @@ i18n.inputMethod = { type = "fcitx5"; enable = lib.mkDefault config.monorepo.profiles.graphics.enable; - fcitx5.addons = with pkgs; [ + fcitx5.addons = if config.monorepo.profiles.graphics.enable then (with pkgs; [ fcitx5-gtk qt6Packages.fcitx5-chinese-addons qt6Packages.fcitx5-configtool fcitx5-mozc fcitx5-rime - ]; + ]) else []; }; } |
