users/display: add display properties

This commit is contained in:
Johannes Kirschbauer
2025-07-31 16:41:41 +02:00
parent fc2e619046
commit 488ee1ae63

View File

@@ -88,6 +88,14 @@
files.user-password.deploy = false; files.user-password.deploy = false;
prompts.user-password = lib.mkIf settings.prompt { prompts.user-password = lib.mkIf settings.prompt {
display = {
group = settings.user;
label = "password";
required = false;
helperText = ''
Your password will be encrypted and stored securely using the secret store you've configured.
'';
};
type = "hidden"; type = "hidden";
persist = true; persist = true;
description = "You can autogenerate a password, if you leave this prompt blank."; description = "You can autogenerate a password, if you leave this prompt blank.";