1 { config, pkgs, lib, ... }:
6 imcfg = config.i18n.inputMethod;
9 config = mkIf (imcfg.enable && imcfg.type == "hime") {
10 i18n.inputMethod.package = pkgs.hime;
11 environment.variables = {
12 GTK_IM_MODULE = "hime";
13 QT_IM_MODULE = "hime";
14 XMODIFIERS = "@im=hime";
16 services.xserver.displayManager.sessionCommands = "${pkgs.hime}/bin/hime &";