wgautomesh: clearer documentation for gossip_secret_file

This commit is contained in:
Alex Auvolat 2023-06-13 10:01:12 +02:00
parent 0b1adfffb4
commit bbd4ce7d5e

View File

@ -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 {