1# GNOME Sushi daemon.
2
3{ config, lib, pkgs, ... }:
4
5with lib;
6
7{
8
9 ###### interface
10
11 options = {
12
13 services.gnome3.sushi = {
14
15 enable = mkOption {
16 type = types.bool;
17 default = false;
18 description = ''
19 Whether to enable Sushi, a quick previewer for nautilus.
20 '';
21 };
22
23 };
24
25 };
26
27
28 ###### implementation
29
30 config = mkIf config.services.gnome3.sushi.enable {
31
32 environment.systemPackages = [ pkgs.gnome3.sushi ];
33
34 services.dbus.packages = [ pkgs.gnome3.sushi ];
35
36 };
37
38}