1# GNOME Documents daemon.
2
3{ config, pkgs, lib, ... }:
4
5with lib;
6
7{
8
9 ###### interface
10
11 options = {
12
13 services.gnome3.gnome-documents = {
14
15 enable = mkOption {
16 type = types.bool;
17 default = false;
18 description = ''
19 Whether to enable GNOME Documents services, a document
20 manager application for GNOME.
21 '';
22 };
23
24 };
25
26 };
27
28
29 ###### implementation
30
31 config = mkIf config.services.gnome3.gnome-documents.enable {
32
33 environment.systemPackages = [ pkgs.gnome3.gnome-documents ];
34
35 services.dbus.packages = [ pkgs.gnome3.gnome-documents ];
36
37 services.gnome3.gnome-online-accounts.enable = true;
38
39 services.gnome3.gnome-online-miners.enable = true;
40
41 };
42
43}