3 { config, pkgs, lib, ... }:
7 let cfg = config.programs.file-roller;
13 (mkRenamedOptionModule
14 [ "services" "gnome3" "file-roller" "enable" ]
15 [ "programs" "file-roller" "enable" ])
22 programs.file-roller = {
24 enable = mkEnableOption (lib.mdDoc "File Roller, an archive manager for GNOME");
28 default = pkgs.gnome.file-roller;
29 defaultText = literalExpression "pkgs.gnome.file-roller";
30 description = lib.mdDoc "File Roller derivation to use.";
40 config = mkIf cfg.enable {
42 environment.systemPackages = [ cfg.package ];
44 services.dbus.packages = [ cfg.package ];