From 6afb255d976f85f3359e4929abd6f5149c323a02 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 13 Apr 2024 14:54:15 +0200 Subject: nixos: remove all uses of lib.mdDoc these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned. --- nixos/modules/services/monitoring/vmagent.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nixos/modules/services/monitoring/vmagent.nix') diff --git a/nixos/modules/services/monitoring/vmagent.nix b/nixos/modules/services/monitoring/vmagent.nix index bd3ef756959d3..cdcf1571154e9 100644 --- a/nixos/modules/services/monitoring/vmagent.nix +++ b/nixos/modules/services/monitoring/vmagent.nix @@ -5,12 +5,12 @@ let settingsFormat = pkgs.formats.json { }; in { options.services.vmagent = { - enable = mkEnableOption (lib.mdDoc "vmagent"); + enable = mkEnableOption "vmagent"; user = mkOption { default = "vmagent"; type = types.str; - description = lib.mdDoc '' + description = '' User account under which vmagent runs. ''; }; @@ -18,7 +18,7 @@ in { group = mkOption { type = types.str; default = "vmagent"; - description = lib.mdDoc '' + description = '' Group under which vmagent runs. ''; }; @@ -28,7 +28,7 @@ in { dataDir = mkOption { type = types.str; default = "/var/lib/vmagent"; - description = lib.mdDoc '' + description = '' The directory where vmagent stores its data files. ''; }; @@ -36,14 +36,14 @@ in { remoteWriteUrl = mkOption { default = "http://localhost:8428/api/v1/write"; type = types.str; - description = lib.mdDoc '' + description = '' The storage endpoint such as VictoriaMetrics ''; }; prometheusConfig = mkOption { type = lib.types.submodule { freeformType = settingsFormat.type; }; - description = lib.mdDoc '' + description = '' Config for prometheus style metrics ''; }; @@ -51,7 +51,7 @@ in { openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to open the firewall for the default ports. ''; }; @@ -59,7 +59,7 @@ in { extraArgs = mkOption { type = types.listOf types.str; default = []; - description = lib.mdDoc '' + description = '' Extra args to pass to `vmagent`. See the docs: or {command}`vmagent -help` for more information. -- cgit 1.4.1