mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
nixos/thanos: use mkPackageOptionMD
This commit is contained in:
parent
9abb2a2116
commit
65be712043
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user