Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
518 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
# Evince.
{
config,
pkgs,
lib,
...
}:
let
cfg = config.programs.evince;
in
{
###### interface
options = {
programs.evince = {
enable = lib.mkEnableOption "Evince, the GNOME document viewer";
package = lib.mkPackageOption pkgs "evince" { };
};
};
###### implementation
config = lib.mkIf config.programs.evince.enable {
environment.systemPackages = [ cfg.package ];
services.dbus.packages = [ cfg.package ];
systemd.packages = [ cfg.package ];
};
}