From bbd4ce7d5e33e678f85475970985339651273cdc Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 13 Jun 2023 10:01:12 +0200 Subject: [PATCH] wgautomesh: clearer documentation for `gossip_secret_file` --- nixos/modules/services/networking/wgautomesh.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/wgautomesh.nix b/nixos/modules/services/networking/wgautomesh.nix index 7549d82eae0b..094281403f73 100644 --- a/nixos/modules/services/networking/wgautomesh.nix +++ b/nixos/modules/services/networking/wgautomesh.nix @@ -35,8 +35,10 @@ in gossipSecretFile = mkOption { type = types.path; description = mdDoc '' - File containing the shared secret key to use for gossip encryption. - Required if `enableGossipEncryption` is set. + File containing the gossip secret, a shared secret key to use for gossip + encryption. Required if `enableGossipEncryption` is set. This file + may contain any arbitrary-length utf8 string. To generate a new gossip + secret, use a command such as `openssl rand -base64 32`. ''; }; enablePersistence = mkOption {