1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-23 00:56:55 -04:00
nixpkgs/nixos/modules/services/desktops/gnome3/gnome-online-miners.nix

43 lines
690 B
Nix
Raw Normal View History

# GNOME Online Miners daemon.
{ config, pkgs, lib, ... }:
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
options = {
services.gnome3.gnome-online-miners = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable GNOME Online Miners, a service that
crawls through your online content.
'';
};
};
};
###### implementation
config = mkIf config.services.gnome3.gnome-online-miners.enable {
environment.systemPackages = [ gnome3.gnome-online-miners ];
services.dbus.packages = [ gnome3.gnome-online-miners ];
};
}