auth: add imageFile option

This commit is contained in:
Alexander Tomokhov
2025-04-16 14:55:55 +04:00
parent 1f67bb5a85
commit 56a56b67b4
5 changed files with 76 additions and 10 deletions

View File

@@ -572,6 +572,16 @@ in
default = null;
};
imageFile = mkOption {
description = ''
Application image to display in the WebUI.
Kanidm supports "image/jpeg", "image/png", "image/gif", "image/svg+xml", and "image/webp".
The image will be uploaded each time kanidm-provision is run.
'';
type = types.nullOr types.path;
default = null;
};
enableLocalhostRedirects = mkOption {
description = "Allow localhost redirects. Only for public clients.";
type = types.bool;