diff options
author | Graham Christensen <graham@grahamc.com> | 2019-04-23 22:42:37 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2019-04-24 07:46:01 -0400 |
commit | 06c83a14e1826694c0cda073e253a3ca785e1461 (patch) | |
tree | a5586c6c47eb4d7b716ced32c4ea6c21caea3aee /nixos | |
parent | f57fc6c881ffe9acaaddfa8739b50f9bb7fa260c (diff) | |
download | nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.tar nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.tar.gz nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.tar.bz2 nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.tar.lz nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.tar.xz nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.tar.zst nixpkgs-06c83a14e1826694c0cda073e253a3ca785e1461.zip |
Wrap 'wg' commands in <command>
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/wireguard.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix index 100e9a379c1..dd3cb1af271 100644 --- a/nixos/modules/services/networking/wireguard.nix +++ b/nixos/modules/services/networking/wireguard.nix @@ -26,7 +26,7 @@ let type = with types; nullOr str; default = null; 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 want to store the key in the world-readable Nix store. @@ -37,8 +37,8 @@ let default = false; type = types.bool; description = '' - Automatically generate a private key with `wg genkey`, - at the privateKeyFile location. + Automatically generate a private key with + <command>wg genkey</command>, at the privateKeyFile location. ''; }; @@ -47,7 +47,7 @@ let type = with types; nullOr str; default = null; 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="; type = with types; nullOr str; description = '' - Base64 preshared key generated by wg genpsk. Optional, - and may be omitted. This option adds an additional layer of + Base64 preshared key generated by <command>wg genpsk</command>. + Optional, and may be omitted. This option adds an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. @@ -148,8 +148,8 @@ let example = "/private/wireguard_psk"; type = with types; nullOr str; description = '' - File pointing to preshared key as generated by wg pensk. Optional, - and may be omitted. This option adds an additional layer of + File pointing to preshared key as generated by <command>wg pensk</command>. + Optional, and may be omitted. This option adds an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. ''; |