2020-10-09 17:32:58 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
2020-09-16 18:01:57 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
config = mkIf (config.i18n.inputMethod.enabled == "hime") {
|
2020-10-09 17:32:58 +02:00
|
|
|
i18n.inputMethod.package = pkgs.hime;
|
2020-09-16 18:01:57 +02:00
|
|
|
environment.variables = {
|
|
|
|
GTK_IM_MODULE = "hime";
|
|
|
|
QT_IM_MODULE = "hime";
|
|
|
|
XMODIFIERS = "@im=hime";
|
|
|
|
};
|
|
|
|
services.xserver.displayManager.sessionCommands = "${pkgs.hime}/bin/hime &";
|
|
|
|
};
|
|
|
|
}
|