2020-04-24 23:36:52 +00:00
|
|
|
# Tumbler
|
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
cfg = config.services.tumbler;
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
(mkRemovedOptionModule
|
|
|
|
[ "services" "tumbler" "package" ]
|
|
|
|
"")
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
###### 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
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|