From 72cc85cd2f236ffc02b41c1e6237b540d736a031 Mon Sep 17 00:00:00 2001 From: DavHau Date: Sat, 30 Mar 2024 17:16:26 +0700 Subject: [PATCH] secrets: improve description of generator script --- nixosModules/clanCore/facts/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixosModules/clanCore/facts/default.nix b/nixosModules/clanCore/facts/default.nix index c8b433cd..b13aacbc 100644 --- a/nixosModules/clanCore/facts/default.nix +++ b/nixosModules/clanCore/facts/default.nix @@ -99,11 +99,11 @@ script = lib.mkOption { type = lib.types.str; description = '' - Script to generate the secret. - The script will be called with the following variables: + Shell script snippet to generate the secrets and facts. + The script has access to the following environment variables: - facts: path to a directory where facts can be stored - secrets: path to a directory where secrets can be stored - The script is expected to generate all secrets and facts defined in the module. + The script is expected to generate all secrets and facts defined for this service. ''; }; finalScript = lib.mkOption {