summary refs log tree commit diff
path: root/nixos/modules/services/desktops/gnome3
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-04-08 13:23:12 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-04-09 00:36:51 +0200
commit2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8 (patch)
treeead2ea8d9250755f42f75b096b6f91a354098bfe /nixos/modules/services/desktops/gnome3
parentea3644cb098306fb767ae50426270491d190547a (diff)
downloadnixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.tar
nixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.tar.gz
nixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.tar.bz2
nixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.tar.lz
nixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.tar.xz
nixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.tar.zst
nixlib-2bc0f7b701a41aaf2e2f4615ab3dbe66e38573c8.zip
evolution-data-server: fix gsettings schemas and add dbus service
Diffstat (limited to 'nixos/modules/services/desktops/gnome3')
-rw-r--r--nixos/modules/services/desktops/gnome3/evolution-data-server.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/gnome3/evolution-data-server.nix b/nixos/modules/services/desktops/gnome3/evolution-data-server.nix
new file mode 100644
index 000000000000..645921336669
--- /dev/null
+++ b/nixos/modules/services/desktops/gnome3/evolution-data-server.nix
@@ -0,0 +1,39 @@
+# Evolution Data Server daemon.
+
+{ config, pkgs, ... }:
+
+with pkgs.lib;
+
+{
+
+  ###### interface
+
+  options = {
+
+    services.gnome3.evolution-data-server = {
+
+      enable = mkOption {
+        type = types.bool;
+        default = false;
+        description = ''
+          Whether to enable Evolution Data Server, a collection of services for 
+          storing addressbooks and calendars.
+        '';
+      };
+
+    };
+
+  };
+
+
+  ###### implementation
+
+  config = mkIf config.services.gnome3.evolution-data-server.enable {
+
+    environment.systemPackages = [ pkgs.evolution_data_server ];
+
+    services.dbus.packages = [ pkgs.evolution_data_server ];
+
+  };
+
+}