From 41b2653e320a6e4af1e334c94b270e9535d2255c Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 9 Sep 2020 10:40:45 -0400 Subject: feat(gs/system): Install fcitx+cloudpinyin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 汉语时间! Change-Id: Ic52c2d393ee55c1d251416a66c15f4b6d6722bfa Reviewed-on: https://cl.tvl.fyi/c/depot/+/1966 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/system/home/machines/chupacabra.nix | 1 + users/glittershark/system/home/modules/fcitx.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 users/glittershark/system/home/modules/fcitx.nix (limited to 'users/glittershark') diff --git a/users/glittershark/system/home/machines/chupacabra.nix b/users/glittershark/system/home/machines/chupacabra.nix index 66531e9d7f..e150c5ae57 100644 --- a/users/glittershark/system/home/machines/chupacabra.nix +++ b/users/glittershark/system/home/machines/chupacabra.nix @@ -11,6 +11,7 @@ in { ../modules/games.nix ../modules/rtlsdr.nix ../modules/urbint.nix + ../modules/fcitx.nix ]; # for when hacking diff --git a/users/glittershark/system/home/modules/fcitx.nix b/users/glittershark/system/home/modules/fcitx.nix new file mode 100644 index 0000000000..02fb4f5593 --- /dev/null +++ b/users/glittershark/system/home/modules/fcitx.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +{ + i18n.inputMethod = { + enabled = "fcitx"; + engines = with pkgs.fcitx-engines; [ + cloudpinyin + ]; + }; +} -- cgit 1.4.1