From ce021eefaf1f337ed8ac406dea70947033bd70c1 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sun, 23 Nov 2025 18:41:01 +0100 Subject: Fix fcitx5 by moving it to home-manager and updating the flake --- home-modules/apps/desktop/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'home-modules') diff --git a/home-modules/apps/desktop/default.nix b/home-modules/apps/desktop/default.nix index c326607..64f1382 100644 --- a/home-modules/apps/desktop/default.nix +++ b/home-modules/apps/desktop/default.nix @@ -29,6 +29,24 @@ in variant = "mocha"; }) ]; + # Use fcitx + i18n.inputMethod = { + type = "fcitx5"; + enable = true; + fcitx5 = { + waylandFrontend = true; + addons = with pkgs; [ + fcitx5-gtk + fcitx5-lua + fcitx5-mozc + fcitx5-table-other + fcitx5-gtk + ]; + }; + }; + + # Install the theme for fcitx + home.file."/.local/share/fcitx5/themes".source = "${pkgs.catppuccin-fcitx5}/share/fcitx5/themes"; }) (lib.mkIf cfg.email.enable { home.packages = with pkgs; [ -- cgit v1.3.1