3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/i18n/input-method/nabi.nix
2016-04-16 17:51:32 +09:00

17 lines
366 B
Nix

{ config, pkgs, lib, ... }:
with lib;
{
config = mkIf (config.i18n.inputMethod.enabled == "nabi") {
i18n.inputMethod.package = pkgs.nabi;
environment.variables = {
GTK_IM_MODULE = "nabi";
QT_IM_MODULE = "nabi";
XMODIFIERS = "@im=nabi";
};
services.xserver.displayManager.sessionCommands = "${pkgs.nabi}/bin/nabi &";
};
}