From f885f3c0036c5d979e9e4e40f16b3008ea302b47 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Mon, 2 Aug 2021 21:52:11 +0200 Subject: [PATCH] i18n: Add ibus with mozc --- modules/programs/i18n.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/programs/i18n.nix diff --git a/modules/programs/i18n.nix b/modules/programs/i18n.nix new file mode 100644 index 0000000..eec0bbc --- /dev/null +++ b/modules/programs/i18n.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + i18n.inputMethod = { + enabled = "ibus"; + ibus.engines = with pkgs.ibus-engines; [ mozc ]; + }; + + #environment.variables = { + # # TODO: Use pam_environment + # "GTK_IM_MODULE" = "xim"; + # "XMODIFIERS" = "@im=ibus"; + # "QT_IM_MODULE" = "xim"; + #}; +}