1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/services/desktops/tumbler.nix

53 lines
605 B
Nix
Raw Normal View History

2018-08-20 21:31:18 +01:00
# Tumbler
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.tumbler;
in
{
imports = [
(mkRemovedOptionModule
[ "services" "tumbler" "package" ]
"")
];
meta = {
maintainers = with maintainers; [ ];
};
2018-08-20 21:31:18 +01:00
###### interface
options = {
services.tumbler = {
enable = mkEnableOption "Tumbler, A D-Bus thumbnailer service";
};
};
###### implementation
config = mkIf cfg.enable {
environment.systemPackages = with pkgs.xfce; [
2018-08-20 21:31:18 +01:00
tumbler
];
services.dbus.packages = with pkgs.xfce; [
2018-08-20 21:31:18 +01:00
tumbler
];
};
}