2014-04-08 13:23:12 +02:00
|
|
|
# Evolution Data Server daemon.
|
|
|
|
|
2014-04-14 16:26:48 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2014-04-08 13:23:12 +02:00
|
|
|
|
2014-04-14 16:26:48 +02:00
|
|
|
with lib;
|
2014-04-08 13:23:12 +02:00
|
|
|
|
2014-05-21 10:55:10 +02:00
|
|
|
let
|
|
|
|
gnome3 = config.environment.gnome3.packageSet;
|
|
|
|
in
|
2014-04-08 13:23:12 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
###### 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 {
|
|
|
|
|
2014-05-21 10:55:10 +02:00
|
|
|
environment.systemPackages = [ gnome3.evolution_data_server ];
|
2014-04-08 13:23:12 +02:00
|
|
|
|
2014-05-21 10:55:10 +02:00
|
|
|
services.dbus.packages = [ gnome3.evolution_data_server ];
|
2014-04-08 13:23:12 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|