2014-04-08 12:23:12 +01:00
|
|
|
# Evolution Data Server daemon.
|
|
|
|
|
2014-04-14 15:26:48 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2014-04-08 12:23:12 +01:00
|
|
|
|
2014-04-14 15:26:48 +01:00
|
|
|
with lib;
|
2014-04-08 12:23:12 +01: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 {
|
|
|
|
|
2017-09-24 12:15:50 +01:00
|
|
|
environment.systemPackages = [ pkgs.gnome3.evolution_data_server ];
|
2014-04-08 12:23:12 +01:00
|
|
|
|
2017-09-24 12:15:50 +01:00
|
|
|
services.dbus.packages = [ pkgs.gnome3.evolution_data_server ];
|
2014-04-08 12:23:12 +01:00
|
|
|
|
2017-09-24 12:15:50 +01:00
|
|
|
systemd.packages = [ pkgs.gnome3.evolution_data_server ];
|
2016-09-30 20:15:05 +01:00
|
|
|
|
2014-04-08 12:23:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|