mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
793d1997c5
Uneeded with one xfce packageset.
49 lines
547 B
Nix
49 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
|
|
];
|
|
|
|
};
|
|
|
|
}
|