summary refs log tree commit diff
path: root/nixos/modules/services/desktops
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-04-08 22:44:22 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-04-09 00:36:53 +0200
commitc56af6102a53dd6463483b968cf82d14646f03b7 (patch)
tree06360b6b7e6612d8b5112690cd5848bb503830a4 /nixos/modules/services/desktops
parent9219c503c940e87806139fed4d9c94ca20fe726c (diff)
downloadnixlib-c56af6102a53dd6463483b968cf82d14646f03b7.tar
nixlib-c56af6102a53dd6463483b968cf82d14646f03b7.tar.gz
nixlib-c56af6102a53dd6463483b968cf82d14646f03b7.tar.bz2
nixlib-c56af6102a53dd6463483b968cf82d14646f03b7.tar.lz
nixlib-c56af6102a53dd6463483b968cf82d14646f03b7.tar.xz
nixlib-c56af6102a53dd6463483b968cf82d14646f03b7.tar.zst
nixlib-c56af6102a53dd6463483b968cf82d14646f03b7.zip
at-spi2-core: add dbus module, enabled on gnome3 by default
Diffstat (limited to 'nixos/modules/services/desktops')
-rw-r--r--nixos/modules/services/desktops/gnome3/at-spi2-core.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/gnome3/at-spi2-core.nix b/nixos/modules/services/desktops/gnome3/at-spi2-core.nix
new file mode 100644
index 000000000000..7a25a794c2ed
--- /dev/null
+++ b/nixos/modules/services/desktops/gnome3/at-spi2-core.nix
@@ -0,0 +1,39 @@
+# at-spi2-core daemon.
+
+{ config, pkgs, ... }:
+
+with pkgs.lib;
+
+{
+
+  ###### 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 = [ pkgs.gnome3.at_spi2_core ];
+
+    services.dbus.packages = [ pkgs.gnome3.at_spi2_core ];
+
+  };
+
+}