3 { config, lib, pkgs, ... }:
8 maintainers = lib.teams.gnome.members;
14 services.gnome.at-spi2-core = {
16 enable = lib.mkOption {
17 type = lib.types.bool;
20 Whether to enable at-spi2-core, a service for the Assistive Technologies
21 available on the GNOME platform.
23 Enable this if you get the error or warning
24 `The name org.a11y.Bus was not provided by any .service files`.
35 config = lib.mkMerge [
36 (lib.mkIf config.services.gnome.at-spi2-core.enable {
37 environment.systemPackages = [ pkgs.at-spi2-core ];
38 services.dbus.packages = [ pkgs.at-spi2-core ];
39 systemd.packages = [ pkgs.at-spi2-core ];
42 (lib.mkIf (!config.services.gnome.at-spi2-core.enable) {
43 environment.sessionVariables = {