Merge pull request #54284 from worldofpeace/file-roller-module

nixos/file-roller: init
This commit is contained in:
Jan Tojnar 2019-01-19 06:42:00 +01:00 committed by GitHub
commit 8824dde9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View File

@ -248,6 +248,7 @@
./services/desktops/gnome3/at-spi2-core.nix ./services/desktops/gnome3/at-spi2-core.nix
./services/desktops/gnome3/chrome-gnome-shell.nix ./services/desktops/gnome3/chrome-gnome-shell.nix
./services/desktops/gnome3/evolution-data-server.nix ./services/desktops/gnome3/evolution-data-server.nix
./services/desktops/gnome3/file-roller.nix
./services/desktops/gnome3/gnome-disks.nix ./services/desktops/gnome3/gnome-disks.nix
./services/desktops/gnome3/gnome-documents.nix ./services/desktops/gnome3/gnome-documents.nix
./services/desktops/gnome3/gnome-keyring.nix ./services/desktops/gnome3/gnome-keyring.nix

View File

@ -0,0 +1,32 @@
# File Roller.
{ config, pkgs, lib, ... }:
with lib;
{
###### interface
options = {
services.gnome3.file-roller = {
enable = mkEnableOption "File Roller, an archive manager for GNOME";
};
};
###### implementation
config = mkIf config.services.gnome3.file-roller.enable {
environment.systemPackages = [ pkgs.gnome3.file-roller ];
services.dbus.packages = [ pkgs.gnome3.file-roller ];
};
}

View File

@ -95,6 +95,7 @@ in {
services.dleyna-server.enable = mkDefault true; services.dleyna-server.enable = mkDefault true;
services.gnome3.at-spi2-core.enable = true; services.gnome3.at-spi2-core.enable = true;
services.gnome3.evolution-data-server.enable = true; services.gnome3.evolution-data-server.enable = true;
services.gnome3.file-roller.enable = mkDefault true;
services.gnome3.gnome-disks.enable = mkDefault true; services.gnome3.gnome-disks.enable = mkDefault true;
services.gnome3.gnome-documents.enable = mkDefault true; services.gnome3.gnome-documents.enable = mkDefault true;
services.gnome3.gnome-keyring.enable = true; services.gnome3.gnome-keyring.enable = true;