nixos/evince: init
This commit is contained in:
parent
e0a90a5fc1
commit
ad5cabf575
@ -265,6 +265,7 @@
|
||||
./services/desktops/pipewire.nix
|
||||
./services/desktops/gnome3/at-spi2-core.nix
|
||||
./services/desktops/gnome3/chrome-gnome-shell.nix
|
||||
./services/desktops/gnome3/evince.nix
|
||||
./services/desktops/gnome3/evolution-data-server.nix
|
||||
./services/desktops/gnome3/file-roller.nix
|
||||
./services/desktops/gnome3/gnome-disks.nix
|
||||
|
35
nixos/modules/services/desktops/gnome3/evince.nix
Normal file
35
nixos/modules/services/desktops/gnome3/evince.nix
Normal file
@ -0,0 +1,35 @@
|
||||
# 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 ];
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -126,6 +126,7 @@ in {
|
||||
services.dleyna-renderer.enable = mkDefault true;
|
||||
services.dleyna-server.enable = mkDefault true;
|
||||
services.gnome3.at-spi2-core.enable = true;
|
||||
services.gnome3.evince.enable = mkDefault true;
|
||||
services.gnome3.evolution-data-server.enable = true;
|
||||
services.gnome3.file-roller.enable = mkDefault true;
|
||||
services.gnome3.gnome-disks.enable = mkDefault true;
|
||||
|
Loading…
Reference in New Issue
Block a user