45 lines
789 B
Nix
45 lines
789 B
Nix
# Evolution Data Server daemon.
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
meta = {
|
|
maintainers = teams.gnome.members;
|
|
};
|
|
|
|
###### 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.gnome3.evolution-data-server ];
|
|
|
|
services.dbus.packages = [ pkgs.gnome3.evolution-data-server ];
|
|
|
|
systemd.packages = [ pkgs.gnome3.evolution-data-server ];
|
|
|
|
};
|
|
|
|
}
|