mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/services.tumbler: remove with lib;
This commit is contained in:
parent
506e98b306
commit
dee0a91730
@ -1,9 +1,5 @@
|
||||
# Tumbler
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.services.tumbler;
|
||||
@ -13,13 +9,13 @@ in
|
||||
{
|
||||
|
||||
imports = [
|
||||
(mkRemovedOptionModule
|
||||
(lib.mkRemovedOptionModule
|
||||
[ "services" "tumbler" "package" ]
|
||||
"")
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
||||
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.members;
|
||||
};
|
||||
|
||||
###### interface
|
||||
@ -28,7 +24,7 @@ in
|
||||
|
||||
services.tumbler = {
|
||||
|
||||
enable = mkEnableOption "Tumbler, A D-Bus thumbnailer service";
|
||||
enable = lib.mkEnableOption "Tumbler, A D-Bus thumbnailer service";
|
||||
|
||||
};
|
||||
|
||||
@ -37,7 +33,7 @@ in
|
||||
|
||||
###### implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = with pkgs.xfce; [
|
||||
tumbler
|
||||
|
Loading…
Reference in New Issue
Block a user