mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/*: convert straggler options to MD
This commit is contained in:
parent
e04a09082e
commit
1d41cff3dc
31 changed files with 153 additions and 144 deletions
|
@ -116,12 +116,12 @@ in
|
|||
useACMEHost = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
A host of an existing Let's Encrypt certificate to use.
|
||||
This is useful if you have many subdomains and want to avoid hitting the
|
||||
<link xlink:href="https://letsencrypt.org/docs/rate-limits/">rate limit</link>.
|
||||
Alternately, you can generate a certificate through <option>enableACME</option>.
|
||||
<emphasis>Note that this option does not create any certificates, nor it does add subdomains to existing ones – you will need to create them manually using <xref linkend="opt-security.acme.certs"/>.</emphasis>
|
||||
[rate limit](https://letsencrypt.org/docs/rate-limits).
|
||||
Alternately, you can generate a certificate through {option}`enableACME`.
|
||||
*Note that this option does not create any certificates, nor it does add subdomains to existing ones – you will need to create them manually using [](#opt-security.acme.certs).*
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -36,9 +36,9 @@ with lib;
|
|||
frontend = mkOption {
|
||||
type = types.either types.str (types.listOf types.str);
|
||||
default = "[127.0.0.1]:443";
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
The port and interface of the listen endpoint in the
|
||||
+ form [HOST]:PORT[+CERT].
|
||||
form [HOST]:PORT[+CERT].
|
||||
'';
|
||||
apply = toList;
|
||||
};
|
||||
|
|
|
@ -75,12 +75,12 @@ with lib;
|
|||
useACMEHost = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
A host of an existing Let's Encrypt certificate to use.
|
||||
This is useful if you have many subdomains and want to avoid hitting the
|
||||
<link xlink:href="https://letsencrypt.org/docs/rate-limits/">rate limit</link>.
|
||||
Alternately, you can generate a certificate through <option>enableACME</option>.
|
||||
<emphasis>Note that this option does not create any certificates, nor it does add subdomains to existing ones – you will need to create them manually using <xref linkend="opt-security.acme.certs"/>.</emphasis>
|
||||
[rate limit](https://letsencrypt.org/docs/rate-limits).
|
||||
Alternately, you can generate a certificate through {option}`enableACME`.
|
||||
*Note that this option does not create any certificates, nor it does add subdomains to existing ones – you will need to create them manually using [](#opt-security.acme.certs).*
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue