Skip to content
Snippets Groups Projects
Commit 0336938b authored by Florian Sesser's avatar Florian Sesser
Browse files

docs

parent f9fe1170
No related branches found
No related tags found
3 merge requests!101Merge staging into production,!100Merge develop into staging,!87Add monitoring VPN modules and config
......@@ -12,8 +12,6 @@ in {
default = /var/secrets/monitoringvpn/client.key;
description = ''
File with base64 private key generated by <command>wg genkey</command>.
Shorthand for public and private key:
<command>wg genkey | tee peer_A.key | wg pubkey > peer_A.pub</command>
'';
};
publicKeyFile = lib.mkOption {
......@@ -21,8 +19,11 @@ in {
example = lib.literalExample /var/secrets/monitoringvpn/host.pub;
description = ''
File with base64 public key generated by <command>cat private.key | wg pubkey > pubkey.pub</command>.
Cannot have white space or new lines.
Shorthand for public and private key:
<command>wg genkey | tee peer_A.key | wg pubkey > peer_A.pub</command>
TBD the pub files must not have white space or new lines, remove with
them, for example <command>perl -pe 's/\s+//g'</command>
'';
};
presharedKeyFile = lib.mkOption {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment