Commit 2510d36

HPCesia <me@hpcesia.com>
2026-09-08 06:55:29
wechat: fix lang and ime
1 parent 07819aa
Changed files (1)
modules
users
hpcesia
modules/users/hpcesia/desktop.nix
@@ -15,8 +15,16 @@
             "org.mozilla.thunderbird"
           ];
           overrides = {
-            "org.mozilla.thunderbird".Context = {
-              sockets = [
+            "com.tencent.WeChat" = {
+              Environment = {
+                LANG = "zh_CN.UTF-8"; # Fix wechat CJK font variant
+                GTK_IM_MODULE = "fcitx";
+                QT_IM_MODULE = "fcitx";
+              };
+            };
+
+            "org.mozilla.thunderbird" = {
+              Context.sockets = [
                 "gpg-agent" # Expose GPG agent
                 "pcsc" # Expose smart cards
               ];