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