nixpkgs/nixos/modules/services/desktops/tumbler.nix
2026-03-13 16:53:28 +01:00

50 lines
584 B
Nix

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