2014-04-20 22:19:00 +00:00
|
|
|
# GNOME Documents daemon.
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
with pkgs.lib;
|
|
|
|
|
2014-05-18 22:17:13 +00:00
|
|
|
let
|
|
|
|
gnome3 = config.environment.gnome3.packageSet;
|
|
|
|
in
|
2014-04-20 22:19:00 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
services.gnome3.gnome-documents = {
|
|
|
|
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
description = ''
|
|
|
|
Whether to enable GNOME Documents services, a document
|
|
|
|
manager application for GNOME.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.gnome3.gnome-documents.enable {
|
|
|
|
|
2014-05-18 22:17:13 +00:00
|
|
|
environment.systemPackages = [ gnome3.gnome-documents ];
|
2014-04-20 22:19:00 +00:00
|
|
|
|
2014-05-18 22:17:13 +00:00
|
|
|
services.dbus.packages = [ gnome3.gnome-documents ];
|
2014-04-20 22:19:00 +00:00
|
|
|
|
|
|
|
services.gnome3.gnome-online-accounts.enable = true;
|
|
|
|
|
|
|
|
services.gnome3.gnome-online-miners.enable = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|