1# Evolution Data Server daemon.
2
3{ config, lib, pkgs, ... }:
4
5with lib;
6
7let
8 gnome3 = config.environment.gnome3.packageSet;
9in
10{
11
12 ###### interface
13
14 options = {
15
16 services.gnome3.evolution-data-server = {
17
18 enable = mkOption {
19 type = types.bool;
20 default = false;
21 description = ''
22 Whether to enable Evolution Data Server, a collection of services for
23 storing addressbooks and calendars.
24 '';
25 };
26
27 };
28
29 };
30
31
32 ###### implementation
33
34 config = mkIf config.services.gnome3.evolution-data-server.enable {
35
36 environment.systemPackages = [ gnome3.evolution_data_server ];
37
38 services.dbus.packages = [ gnome3.evolution_data_server ];
39
40 systemd.packages = [ gnome3.evolution_data_server ];
41
42 };
43
44}