secrets: minor fixes

- Improve comment.
- `secretsSetupMethod` is not internal because it can be set to "manual"
  by the user.
This commit is contained in:
Erik Arvstedt 2021-09-08 17:01:15 +02:00
parent e1e3d8a92b
commit 82a2b148d8
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
1 changed files with 2 additions and 3 deletions

View File

@ -24,8 +24,8 @@ in
type = types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
Automatically generate all required secrets. Automatically generate all required secrets at system startup.
Make sure to create a backup of the generated secrets. Note: Make sure to create a backup of the generated secrets.
''; '';
}; };
@ -60,7 +60,6 @@ in
}; };
secretsSetupMethod = mkOption { secretsSetupMethod = mkOption {
internal = true;
type = types.str; type = types.str;
default = throw '' default = throw ''
Error: No secrets setup method has been defined. Error: No secrets setup method has been defined.