diff options
Diffstat (limited to 'nix/modules/home/fcitx.nix')
| -rw-r--r-- | nix/modules/home/fcitx.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nix/modules/home/fcitx.nix b/nix/modules/home/fcitx.nix index 05dd8f7..bedfdf2 100644 --- a/nix/modules/home/fcitx.nix +++ b/nix/modules/home/fcitx.nix @@ -1,7 +1,8 @@ -{ pkgs, ... }: +{ config, pkgs, lib, ... }: { i18n.inputMethod = { - enabled = "fcitx5"; + type = "fcitx5"; + enable = lib.mkDefault config.monorepo.profiles.graphics.enable; fcitx5.addons = with pkgs; [ fcitx5-gtk fcitx5-chinese-addons |
