summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/mtprotoproxy.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/networking/mtprotoproxy.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/networking/mtprotoproxy.nix')
-rw-r--r--nixos/modules/services/networking/mtprotoproxy.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/mtprotoproxy.nix b/nixos/modules/services/networking/mtprotoproxy.nix
index 3dd197697b23..679e84458b20 100644
--- a/nixos/modules/services/networking/mtprotoproxy.nix
+++ b/nixos/modules/services/networking/mtprotoproxy.nix
@@ -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.
'';
};