Skip to content

Commit

Permalink
fixed env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Apr 30, 2024
1 parent df4fd12 commit 97021a7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ in
User = "jitsi-openid";

Environment = [
"JITSI_OPENID_LISTEN_ADDR=${if (lib.hasInfix ":" cfg.listen.addr) then "[${cfg.listen.addr}]" else cfg.listen.addr}:${toString cfg.listen.port}"
"JITSI_OPENID_JITSI_SECRET_FILE=${cfg.jitsiSecretFile}"
"JITSI_OPENID_JITSI_URL=${cfg.jitsiUrl}"
"JITSI_OPENID_JITSI_SUB=${cfg.jitsiSub}"
"JITSI_OPENID_ISSUER_URL=${cfg.issuerUrl}"
"JITSI_OPENID_BASE_URL=${cfg.baseUrl}"
"JITSI_OPENID_CLIENT_ID=${cfg.clientId}"
"JITSI_OPENID_CLIENT_SECRET_FILE=${cfg.clientSecretFile}"
"LISTEN_ADDR=${if (lib.hasInfix ":" cfg.listen.addr) then "[${cfg.listen.addr}]" else cfg.listen.addr}:${toString cfg.listen.port}"
"JITSI_SECRET_FILE=${cfg.jitsiSecretFile}"
"JITSI_URL=${cfg.jitsiUrl}"
"JITSI_SUB=${cfg.jitsiSub}"
"ISSUER_URL=${cfg.issuerUrl}"
"BASE_URL=${cfg.baseUrl}"
"CLIENT_ID=${cfg.clientId}"
"CLIENT_SECRET_FILE=${cfg.clientSecretFile}"
];
};
};
Expand Down

0 comments on commit 97021a7

Please sign in to comment.