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 {
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
environment.systemPackages = [ pkgs.gnome3.evolution-data-server ];
|
2014-04-08 12:23:12 +01:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
services.dbus.packages = [ pkgs.gnome3.evolution-data-server ];
|
2014-04-08 12:23:12 +01:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
systemd.packages = [ pkgs.gnome3.evolution-data-server ];
|
2016-09-30 20:15:05 +01:00
|
|
|
|
2014-04-08 12:23:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|