3 { config, pkgs, lib, ... }:
5 let cfg = config.programs.evince;
15 enable = lib.mkEnableOption "Evince, the GNOME document viewer";
17 package = lib.mkPackageOption pkgs "evince" { };
26 config = lib.mkIf config.programs.evince.enable {
28 environment.systemPackages = [ cfg.package ];
30 services.dbus.packages = [ cfg.package ];
32 systemd.packages = [ cfg.package ];