about summary refs log tree commit diff
path: root/users/glittershark/system/home/modules
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-09T14·40-0400
committerglittershark <grfn@gws.fyi>2020-09-09T14·47+0000
commit41b2653e320a6e4af1e334c94b270e9535d2255c (patch)
treefe4a28b3a584fc4880e3851f51673ad932356da7 /users/glittershark/system/home/modules
parentb2eb4c81f735ed47fd466ac73c2402a35c883d09 (diff)
feat(gs/system): Install fcitx+cloudpinyin r/1776
汉语时间!

Change-Id: Ic52c2d393ee55c1d251416a66c15f4b6d6722bfa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1966
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/system/home/modules')
-rw-r--r--users/glittershark/system/home/modules/fcitx.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/glittershark/system/home/modules/fcitx.nix b/users/glittershark/system/home/modules/fcitx.nix
new file mode 100644
index 000000000000..02fb4f559371
--- /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
+    ];
+  };
+}