git.iko.soy/typeable/nixpkgs
on master help sign in
Wrap 'wg' commands in <command>
commit06c83a14e1826694c0cda073e253a3ca785e1461 authorGraham Christensen <graham@grahamc.com> dateTue 23 Apr 2019, 22:42 (8 years ago) parentf57fc6c
1 file changed+8−8
nixos/modules/services/networking/wireguard.nix+8−8
nixos/modules/services/networking/wireguard.nix+8−8
@@ -26,7 +26,7 @@ let
2626 type = with types; nullOr str;
2727 default = null;
2828 description = ''
29− Base64 private key generated by wg genkey.
29+ Base64 private key generated by <command>wg genkey</command>.
3030
3131 Warning: Consider using privateKeyFile instead if you do not
3232 want to store the key in the world-readable Nix store.
@@ -37,8 +37,8 @@ let
3737 default = false;
3838 type = types.bool;
3939 description = ''
40− Automatically generate a private key with `wg genkey`,
41− at the privateKeyFile location.
40+ Automatically generate a private key with
41+ <command>wg genkey</command>, at the privateKeyFile location.
4242 '';
4343 };
4444
@@ -47,7 +47,7 @@ let
4747 type = with types; nullOr str;
4848 default = null;
4949 description = ''
50− Private key file as generated by wg genkey.
50+ Private key file as generated by <command>wg genkey</command>.
5151 '';
5252 };
5353
@@ -133,8 +133,8 @@ let
133133 example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I=";
134134 type = with types; nullOr str;
135135 description = ''
136− Base64 preshared key generated by wg genpsk. Optional,
137− and may be omitted. This option adds an additional layer of
136+ Base64 preshared key generated by <command>wg genpsk</command>.
137+ Optional, and may be omitted. This option adds an additional layer of
138138 symmetric-key cryptography to be mixed into the already existing
139139 public-key cryptography, for post-quantum resistance.
140140
@@ -148,8 +148,8 @@ let
148148 example = "/private/wireguard_psk";
149149 type = with types; nullOr str;
150150 description = ''
151− File pointing to preshared key as generated by wg pensk. Optional,
152− and may be omitted. This option adds an additional layer of
151+ File pointing to preshared key as generated by <command>wg pensk</command>.
152+ Optional, and may be omitted. This option adds an additional layer of
153153 symmetric-key cryptography to be mixed into the already existing
154154 public-key cryptography, for post-quantum resistance.
155155 '';