From 1c8417356ef0e5e567c528ac3e3c33922fc23009 Mon Sep 17 00:00:00 2001 From: tootbrute Date: Sat, 14 Dec 2024 17:03:52 +0800 Subject: [PATCH] Update NixOS config. --- base.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base.nix b/base.nix index d16ec01..5dea373 100644 --- a/base.nix +++ b/base.nix @@ -53,7 +53,11 @@ LC_TIME = "en_US.UTF-8"; }; - +i18n.inputMethod = { + enable = true; + type = "ibus"; + ibus.engines = with pkgs.ibus-engines; [ pinyin libpinyin anthy ]; + }; # doesn't work # i18n.inputMethod = {