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
parent bc2f66d4f1
commit 85310b533a
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

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.