about 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 15:02:15 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-04-09 00:36:52 +0200
commit8553993887fcb821c06f91e43b0a5ca3b6c3111e (patch)
tree1ec3172d603bb28a252b5eeb59a20920db80b102 /nixos/modules/services/desktops
parentf88597d6e4feb5bb11e8e84f7c396d02a245cb44 (diff)
downloadnixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.tar
nixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.tar.gz
nixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.tar.bz2
nixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.tar.lz
nixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.tar.xz
nixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.tar.zst
nixlib-8553993887fcb821c06f91e43b0a5ca3b6c3111e.zip
telepathy-mission-control: add dbus service, enabled by default on gnome3
Diffstat (limited to 'nixos/modules/services/desktops')
-rw-r--r--nixos/modules/services/desktops/telepathy.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/telepathy.nix b/nixos/modules/services/desktops/telepathy.nix
new file mode 100644
index 000000000000..bd417db88afa
--- /dev/null
+++ b/nixos/modules/services/desktops/telepathy.nix
@@ -0,0 +1,39 @@
+# Telepathy daemon.
+
+{ config, pkgs, ... }:
+
+with pkgs.lib;
+
+{
+
+  ###### interface
+
+  options = {
+
+    services.telepathy = {
+
+      enable = mkOption {
+        type = types.bool;
+        default = false;
+        description = ''
+          Whether to enable Telepathy service, a communications framework
+          that enables real-time communication via pluggable protocol backends.
+        '';
+      };
+
+    };
+
+  };
+
+
+  ###### implementation
+
+  config = mkIf config.services.telepathy.enable {
+
+    environment.systemPackages = [ pkgs.telepathy_mission_control ];
+
+    services.dbus.packages = [ pkgs.telepathy_mission_control ];
+
+  };
+
+}