nixos/tumbler: remove package option
Uneeded with one xfce packageset.
This commit is contained in:
parent
b64a77de32
commit
793d1997c5
1 changed files with 8 additions and 10 deletions
|
@ -7,12 +7,17 @@ with lib;
|
|||
let
|
||||
|
||||
cfg = config.services.tumbler;
|
||||
tumbler = cfg.package;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
(mkRemovedOptionModule
|
||||
[ "services" "tumbler" "package" ]
|
||||
"")
|
||||
];
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
@ -21,13 +26,6 @@ in
|
|||
|
||||
enable = mkEnableOption "Tumbler, A D-Bus thumbnailer service";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.xfce4-14.tumbler;
|
||||
description = "Which tumbler package to use";
|
||||
example = pkgs.xfce4-12.tumbler;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -37,11 +35,11 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = [
|
||||
environment.systemPackages = with pkgs.xfce; [
|
||||
tumbler
|
||||
];
|
||||
|
||||
services.dbus.packages = [
|
||||
services.dbus.packages = with pkgs.xfce; [
|
||||
tumbler
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue