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