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

makeInstalledTest {
  tested = pkgs.ibus;

  testConfig = {
    i18n.supportedLocales = [ "all" ];
    i18n.inputMethod.enabled = "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;
}