about summary refs log tree commit diff
path: root/users/glittershark
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
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')
-rw-r--r--users/glittershark/system/home/machines/chupacabra.nix1
-rw-r--r--users/glittershark/system/home/modules/fcitx.nix10
2 files changed, 11 insertions, 0 deletions
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
+    ];
+  };
+}