From 5a07580ed3de124c2bf60343d881e6395f65cf61 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 16 Nov 2024 11:29:02 +0100 Subject: [PATCH] Update fcitx configuration. --- config/locale.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/locale.nix b/config/locale.nix index 4118bd6..d9f9ed5 100644 --- a/config/locale.nix +++ b/config/locale.nix @@ -9,11 +9,12 @@ defaultLocale = "en_US.UTF-8"; supportedLocales = ["all"]; inputMethod = { - enabled = - if (lib.elem "desktop" config.machine.services) - then "fcitx5" - else null; - fcitx5.addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra]; + enable = (lib.elem "desktop" config.machine.services); + type = "fcitx5"; + fcitx5 = { + waylandFrontend = true; + addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra]; + }; }; }; }