summary refs log tree commit diff
path: root/nixos/modules/services/desktops/gnome3/at-spi2-core.nix
blob: 615f272e7b9aac12fe4fcf31f8364e12a6dc9ab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# at-spi2-core daemon.

{ config, lib, pkgs, ... }:

with lib;

let
  gnome3 = config.environment.gnome3.packageSet;
in
{

  ###### interface

  options = {

    services.gnome3.at-spi2-core = {

      enable = mkOption {
        type = types.bool;
        default = false;
        description = ''
          Whether to enable at-spi2-core, a service for the Assistive Technologies
          available on the GNOME platform.
        '';
      };

    };

  };


  ###### implementation

  config = mkIf config.services.gnome3.at-spi2-core.enable {

    environment.systemPackages = [ gnome3.at_spi2_core ];

    services.dbus.packages = [ gnome3.at_spi2_core ];

  };

}