secrets: use type lines for generateSecretsCmds

This allows users to amend secrets cmds.
This commit is contained in:
Erik Arvstedt 2022-12-12 11:57:12 +01:00 committed by Greg Shuflin
parent 336a3fccf1
commit 3550ed1e32

View File

@ -28,7 +28,7 @@ let
}; };
generateSecretsCmds = mkOption { generateSecretsCmds = mkOption {
type = types.attrsOf types.str; type = types.attrsOf types.lines;
default = {}; default = {};
description = mdDoc '' description = mdDoc ''
Bash expressions for generating secrets. Bash expressions for generating secrets.