d6cfb865ad
GitOrigin-RevId: 5265d49a36bb5a18c85e6817b338b456acc3b8cc
14 lines
364 B
Nix
14 lines
364 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
{
|
|
config = mkIf (config.i18n.inputMethod.enabled == "hime") {
|
|
i18n.inputMethod.package = pkgs.hime;
|
|
environment.variables = {
|
|
GTK_IM_MODULE = "hime";
|
|
QT_IM_MODULE = "hime";
|
|
XMODIFIERS = "@im=hime";
|
|
};
|
|
services.xserver.displayManager.sessionCommands = "${pkgs.hime}/bin/hime &";
|
|
};
|
|
}
|