3ccf8e1ba2
Document manager application designed to work with GNOME 3 https://wiki.gnome.org/Apps/Documents
44 lines
734 B
Nix
44 lines
734 B
Nix
# GNOME Documents daemon.
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
with pkgs.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;
|
|
|
|
};
|
|
|
|
}
|