nixos/thanos: use mkPackageOptionMD

This commit is contained in:
Anthony Roussel 2023-10-26 06:25:53 +02:00
parent 9abb2a2116
commit 65be712043
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -659,14 +659,7 @@ in {
options.services.thanos = {
package = mkOption {
type = types.package;
default = pkgs.thanos;
defaultText = literalExpression "pkgs.thanos";
description = lib.mdDoc ''
The thanos package that should be used.
'';
};
package = lib.mkPackageOptionMD pkgs "thanos" {};
sidecar = paramsToOptions params.sidecar // {
enable = mkEnableOption