allow generating jwt key at startup

This commit is contained in:
Robin Appelman 2026-11-04 15:08:02 +01:00
commit 44ed58f9d8
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE
6 changed files with 369 additions and 67 deletions

View file

@ -26,8 +26,9 @@ in {
type = types.nullOr (types.submodule {
options = {
key = mkOption {
type = types.str;
type = types.nullOr types.str;
description = "JWT RS256 key";
default = null;
};
issuer = mkOption {
type = types.str;