summary refs log blame commit diff
path: root/nixos/modules/services/desktops/tumbler.nix
blob: f5341df2f7a4f477edb1565fe6607f3e10a1ce23 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                




  





                                        

                                                                  

    







                                                                     








                            
                                                  


             
                                              





             
# Tumbler

{ config, pkgs, lib, ... }:

with lib;

let

  cfg = config.services.tumbler;

in

{

  imports = [
    (mkRemovedOptionModule
      [ "services" "tumbler" "package" ]
      "")
  ];

  meta = with lib; {
    maintainers = with maintainers; [ ] ++ teams.pantheon.members;
  };

  ###### 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
    ];

  };

}