mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
9f054b5e1a
(It was requested by them.) I left one case due to fetching from their personal repo: pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
53 lines
605 B
Nix
53 lines
605 B
Nix
# Tumbler
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.services.tumbler;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
(mkRemovedOptionModule
|
|
[ "services" "tumbler" "package" ]
|
|
"")
|
|
];
|
|
|
|
meta = {
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
|
|
###### 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
|
|
];
|
|
|
|
};
|
|
|
|
}
|