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

View File

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