about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/vmagent.nix
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-04-13 14:54:15 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2024-04-13 10:07:35 -0700
commit6afb255d976f85f3359e4929abd6f5149c323a02 (patch)
treeced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/monitoring/vmagent.nix
parent1dd996e59a5e67694b7a252aacba71a88d51b41e (diff)
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.
Diffstat (limited to 'nixos/modules/services/monitoring/vmagent.nix')
-rw-r--r--nixos/modules/services/monitoring/vmagent.nix16
1 files changed, 8 insertions, 8 deletions
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:
         <https://docs.victoriametrics.com/vmagent.html#advanced-usage>
         or {command}`vmagent -help` for more information.