From bf41f4b6aa8165f294686eb674bca6e0e71e2c53 Mon Sep 17 00:00:00 2001 From: tootbrute Date: Sat, 14 Dec 2024 07:58:05 +0800 Subject: [PATCH] Update NixOS config. --- base.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/base.nix b/base.nix index 1af4f39..da51b62 100644 --- a/base.nix +++ b/base.nix @@ -49,11 +49,22 @@ LC_TELEPHONE = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8"; }; - - i18n.inputMethod = { - type = "fcitx5"; - fcitx5.addons = with pkgs; [ fcitx5-chewing fcitx5-chinese-addons ]; +#from someone on fedi + i18n.inputMethod = { + enabled = "fcitx5"; + fcitx5.waylandFrontend = true; + fcitx5.addons = with pkgs; [ + fcitx5-gtk # alternatively, kdePackages.fcitx5-qt + fcitx5-chewing + fcitx5-chinese-addons # table input method support + fcitx5-nord # a color theme + ]; }; +#old one didn't work +# i18n.inputMethod = { +# type = "fcitx5"; +# fcitx5.addons = with pkgs; [ fcitx5-chewing fcitx5-chinese-addons ]; +# }; # Enable the X11 windowing system. services.xserver.enable = true;