nixpkgs/nixos/modules/services/desktops/tumbler.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
641 B
Nix
Raw Normal View History

2018-08-20 20:31:18 +00:00
# Tumbler
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.tumbler;
in
{
imports = [
(mkRemovedOptionModule
[ "services" "tumbler" "package" ]
"")
];
2021-08-02 00:46:24 +00:00
meta = with lib; {
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
};
2018-08-20 20:31:18 +00: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 20:31:18 +00:00
tumbler
];
services.dbus.packages = with pkgs.xfce; [
2018-08-20 20:31:18 +00:00
tumbler
];
};
}