services/stirling-pdf.nix: change type of opts from bool to str

This commit is contained in:
2025-11-02 21:01:06 -08:00
parent 9eb544337c
commit 7f09546f06

View File

@@ -35,19 +35,19 @@ in
environmentFiles = cfg.environmentFiles; environmentFiles = cfg.environmentFiles;
environment = { environment = {
SECURITY_ENABLELOGIN = true; SECURITY_ENABLELOGIN = "true";
SECURITY_LOGINMETHOD = "oauth2"; SECURITY_LOGINMETHOD = "oauth2";
SECURITY_OAUTH2_ENABLED = true; SECURITY_OAUTH2_ENABLED = "true";
SECURITY_OAUTH2_AUTOCREATEUSER = true; SECURITY_OAUTH2_AUTOCREATEUSER = "true";
SECURITY_OAUTH2_BLOCKREGISTRATION = false; SECURITY_OAUTH2_BLOCKREGISTRATION = "false";
SECURITY_OAUTH2_SCOPES = "openid, profile, email"; SECURITY_OAUTH2_SCOPES = "openid, profile, email";
SECURITY_OAUTH2_USEASUSERNAME = "preferred_username"; SECURITY_OAUTH2_USEASUSERNAME = "preferred_username";
SECURITY_OAUTH2_PROVIDER = "Authentik"; SECURITY_OAUTH2_PROVIDER = "Authentik";
# Required for auth # Required for auth
DISABLE_ADDITIONAL_FEATURES = false; DISABLE_ADDITIONAL_FEATURES = "false";
SYSTEM_ENABLEANALYTICS = false; SYSTEM_ENABLEANALYTICS = "false";
# Server config # Server config
SERVER_PORT = stirling-pdfPort; SERVER_PORT = stirling-pdfPort;