Wrap 'wg' commands in <command>
This commit is contained in:
parent
f57fc6c881
commit
06c83a14e1
@ -26,7 +26,7 @@ let
|
|||||||
type = with types; nullOr str;
|
type = with types; nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Base64 private key generated by wg genkey.
|
Base64 private key generated by <command>wg genkey</command>.
|
||||||
|
|
||||||
Warning: Consider using privateKeyFile instead if you do not
|
Warning: Consider using privateKeyFile instead if you do not
|
||||||
want to store the key in the world-readable Nix store.
|
want to store the key in the world-readable Nix store.
|
||||||
@ -37,8 +37,8 @@ let
|
|||||||
default = false;
|
default = false;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = ''
|
description = ''
|
||||||
Automatically generate a private key with `wg genkey`,
|
Automatically generate a private key with
|
||||||
at the privateKeyFile location.
|
<command>wg genkey</command>, at the privateKeyFile location.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ let
|
|||||||
type = with types; nullOr str;
|
type = with types; nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Private key file as generated by wg genkey.
|
Private key file as generated by <command>wg genkey</command>.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -133,8 +133,8 @@ let
|
|||||||
example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I=";
|
example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I=";
|
||||||
type = with types; nullOr str;
|
type = with types; nullOr str;
|
||||||
description = ''
|
description = ''
|
||||||
Base64 preshared key generated by wg genpsk. Optional,
|
Base64 preshared key generated by <command>wg genpsk</command>.
|
||||||
and may be omitted. This option adds an additional layer of
|
Optional, and may be omitted. This option adds an additional layer of
|
||||||
symmetric-key cryptography to be mixed into the already existing
|
symmetric-key cryptography to be mixed into the already existing
|
||||||
public-key cryptography, for post-quantum resistance.
|
public-key cryptography, for post-quantum resistance.
|
||||||
|
|
||||||
@ -148,8 +148,8 @@ let
|
|||||||
example = "/private/wireguard_psk";
|
example = "/private/wireguard_psk";
|
||||||
type = with types; nullOr str;
|
type = with types; nullOr str;
|
||||||
description = ''
|
description = ''
|
||||||
File pointing to preshared key as generated by wg pensk. Optional,
|
File pointing to preshared key as generated by <command>wg pensk</command>.
|
||||||
and may be omitted. This option adds an additional layer of
|
Optional, and may be omitted. This option adds an additional layer of
|
||||||
symmetric-key cryptography to be mixed into the already existing
|
symmetric-key cryptography to be mixed into the already existing
|
||||||
public-key cryptography, for post-quantum resistance.
|
public-key cryptography, for post-quantum resistance.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user