mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
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:
parent
1dd996e59a
commit
6afb255d97
1701 changed files with 13694 additions and 13865 deletions
|
@ -22,13 +22,13 @@ in {
|
|||
###### interface
|
||||
|
||||
options.services.syncthing.relay = {
|
||||
enable = mkEnableOption (lib.mdDoc "Syncthing relay service");
|
||||
enable = mkEnableOption "Syncthing relay service";
|
||||
|
||||
listenAddress = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
example = "1.2.3.4";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Address to listen on for relay traffic.
|
||||
'';
|
||||
};
|
||||
|
@ -36,7 +36,7 @@ in {
|
|||
port = mkOption {
|
||||
type = types.port;
|
||||
default = 22067;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Port to listen on for relay traffic. This port should be added to
|
||||
`networking.firewall.allowedTCPPorts`.
|
||||
'';
|
||||
|
@ -46,7 +46,7 @@ in {
|
|||
type = types.str;
|
||||
default = "";
|
||||
example = "1.2.3.4";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Address to listen on for serving the relay status API.
|
||||
'';
|
||||
};
|
||||
|
@ -54,7 +54,7 @@ in {
|
|||
statusPort = mkOption {
|
||||
type = types.port;
|
||||
default = 22070;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Port to listen on for serving the relay status API. This port should be
|
||||
added to `networking.firewall.allowedTCPPorts`.
|
||||
'';
|
||||
|
@ -63,7 +63,7 @@ in {
|
|||
pools = mkOption {
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Relay pools to join. If null, uses the default global pool.
|
||||
'';
|
||||
};
|
||||
|
@ -71,7 +71,7 @@ in {
|
|||
providedBy = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Human-readable description of the provider of the relay (you).
|
||||
'';
|
||||
};
|
||||
|
@ -79,7 +79,7 @@ in {
|
|||
globalRateBps = mkOption {
|
||||
type = types.nullOr types.ints.positive;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Global bandwidth rate limit in bytes per second.
|
||||
'';
|
||||
};
|
||||
|
@ -87,7 +87,7 @@ in {
|
|||
perSessionRateBps = mkOption {
|
||||
type = types.nullOr types.ints.positive;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Per session bandwidth rate limit in bytes per second.
|
||||
'';
|
||||
};
|
||||
|
@ -95,7 +95,7 @@ in {
|
|||
extraOptions = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Extra command line arguments to pass to strelaysrv.
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue