nixpkgs/nixos/modules/services/desktops/gnome3/evince.nix

36 lines
470 B
Nix
Raw Normal View History

2019-03-26 12:08:58 +01:00
# Evince.
{ config, pkgs, lib, ... }:
with lib;
{
###### interface
options = {
services.gnome3.evince = {
enable = mkEnableOption
"systemd and dbus services for Evince, the GNOME document viewer";
};
};
###### implementation
config = mkIf config.services.gnome3.evince.enable {
environment.systemPackages = [ pkgs.evince ];
services.dbus.packages = [ pkgs.evince ];
systemd.packages = [ pkgs.evince ];
};
}