summaryrefslogtreecommitdiff
path: root/home-modules/apps/desktop/default.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-11-23 18:41:01 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-11-23 18:41:01 +0100
commitce021eefaf1f337ed8ac406dea70947033bd70c1 (patch)
tree83a2050505555b72bb3191ce371f117b6b44b387 /home-modules/apps/desktop/default.nix
parentc4a4c9efaf7227d0b9a0fde28cf8c4612176aea0 (diff)
Fix fcitx5 by moving it to home-manager and updating the flake
Diffstat (limited to 'home-modules/apps/desktop/default.nix')
-rw-r--r--home-modules/apps/desktop/default.nix18
1 files changed, 18 insertions, 0 deletions
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; [