mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
45 lines
840 B
Nix
45 lines
840 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 =
|
|
let evolution-with-plugins = (import ../../../../.. {}).evolution-with-plugins; in
|
|
mkIf config.services.gnome3.evolution-data-server.enable {
|
|
environment.systemPackages = [ evolution-with-plugins ];
|
|
|
|
services.dbus.packages = [ evolution-with-plugins ];
|
|
|
|
systemd.packages = [ evolution-with-plugins ];
|
|
};
|
|
}
|