depot/third_party/nixpkgs/nixos/modules/services/desktops/tumbler.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

48 lines
648 B
Nix

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