diff --git a/nixos/modules/monitoring/vpn/client.nix b/nixos/modules/monitoring/vpn/client.nix index 5ea27cd900e6b90f704a57b8d6437c8b1b92a0ee..ea23a5bac2229e7f9f4c72eae343e9b54bfac1c4 100644 --- a/nixos/modules/monitoring/vpn/client.nix +++ b/nixos/modules/monitoring/vpn/client.nix @@ -12,6 +12,8 @@ in { default = /run/keys/monitoringvpn/client.key; description = '' File with base64 private key generated by <command>wg genkey</command>. + Shorthand to create private and public key: + <command>wg genkey | tee peer_A.key | wg pubkey > peer_A.pub</command> ''; }; presharedKeyFile = lib.mkOption {