nixpkgs/nixos/modules/services/desktops/tumbler.nix
worldofpeace 793d1997c5 nixos/tumbler: remove package option
Uneeded with one xfce packageset.
2019-11-19 18:47:02 -05:00

48 lines
547 B
Nix

# Tumbler
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.tumbler;
in
{
imports = [
(mkRemovedOptionModule
[ "services" "tumbler" "package" ]
"")
];
###### interface
options = {
services.tumbler = {
enable = mkEnableOption "Tumbler, A D-Bus thumbnailer service";
};
};
###### implementation
config = mkIf cfg.enable {
environment.systemPackages = with pkgs.xfce; [
tumbler
];
services.dbus.packages = with pkgs.xfce; [
tumbler
];
};
}