about summary refs log tree commit diff
path: root/nixos/tests/installed-tests/ibus.nix
blob: 8cae29112f98b3f5efe9d902d6641dcf0e555254 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ pkgs, makeInstalledTest, ... }:

makeInstalledTest {
  tested = pkgs.ibus;

  testConfig = {
    i18n.supportedLocales = [ "all" ];
    i18n.inputMethod = {
      enable = true;
      type = "ibus";
    };
    systemd.user.services.ibus-daemon = {
      serviceConfig.ExecStart = "${pkgs.ibus}/bin/ibus-daemon --xim --verbose";
      wantedBy = [ "graphical-session.target" ];
      partOf = [ "graphical-session.target" ];
    };
  };

  withX11 = true;
}