nixpkgs/nixos/modules/services/desktops/gnome3/gnome-documents.nix

44 lines
734 B
Nix
Raw Normal View History

# GNOME Documents daemon.
{ config, pkgs, lib, ... }:
with lib;
{
###### 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 {
environment.systemPackages = [ pkgs.gnome3.gnome-documents ];
services.dbus.packages = [ pkgs.gnome3.gnome-documents ];
services.gnome3.gnome-online-accounts.enable = true;
services.gnome3.gnome-online-miners.enable = true;
};
}