about summary refs log tree commit diff
path: root/users/glittershark/system/system/modules/fcitx.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-09T14·48-0400
committerglittershark <grfn@gws.fyi>2020-09-09T16·09+0000
commit1c9843707914aecf3bfe4f51c47504b8d56791a4 (patch)
treefb8d992aa129b11eb9816618a98e969452d67fdc /users/glittershark/system/system/modules/fcitx.nix
parent90451fdc0e7ff313f7f35ed55a890502f2b08867 (diff)
feat(gs/home): Add chupacabra home-manager to CI targets r/1780
Also move fcitx to system, since it's a nixos thing not a home-manager
thing.

Change-Id: I3e047494a478520e939d48fc72cc91a2d797bf74
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1969
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/system/system/modules/fcitx.nix')
-rw-r--r--users/glittershark/system/system/modules/fcitx.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/glittershark/system/system/modules/fcitx.nix b/users/glittershark/system/system/modules/fcitx.nix
new file mode 100644
index 0000000000..812f598f9f
--- /dev/null
+++ b/users/glittershark/system/system/modules/fcitx.nix
@@ -0,0 +1,10 @@
+{ config, lib, pkgs, ... }:
+
+{
+  i18n.inputMethod = {
+    enabled = "fcitx";
+    fcitx.engines = with pkgs.fcitx-engines; [
+      cloudpinyin
+    ];
+  };
+}