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.
This commit is contained in:
stuebinm
2024-04-13 14:54:15 +02:00
committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View File

@@ -37,12 +37,12 @@ in
services.mtprotoproxy = {
enable = mkEnableOption (lib.mdDoc "mtprotoproxy");
enable = mkEnableOption "mtprotoproxy";
port = mkOption {
type = types.port;
default = 3256;
description = lib.mdDoc ''
description = ''
TCP port to accept mtproto connections on.
'';
};
@@ -53,7 +53,7 @@ in
tg = "00000000000000000000000000000000";
tg2 = "0123456789abcdef0123456789abcdef";
};
description = lib.mdDoc ''
description = ''
Allowed users and their secrets. A secret is a 32 characters long hex string.
'';
};
@@ -61,7 +61,7 @@ in
secureOnly = mkOption {
type = types.bool;
default = true;
description = lib.mdDoc ''
description = ''
Don't allow users to connect in non-secure mode (without random padding).
'';
};
@@ -71,7 +71,7 @@ in
default = null;
# Taken from mtproxyproto's repo.
example = "3c09c680b76ee91a4c25ad51f742267d";
description = lib.mdDoc ''
description = ''
Tag for advertising that can be obtained from @MTProxybot.
'';
};
@@ -82,7 +82,7 @@ in
example = {
STATS_PRINT_PERIOD = 600;
};
description = lib.mdDoc ''
description = ''
Extra configuration options for mtprotoproxy.
'';
};