Allow to serve the frontend in the NixOS module

This commit is contained in:
traxys 2023-07-29 11:33:51 +02:00
parent cfe7f9dada
commit 5d84dacc26

View file

@ -142,6 +142,7 @@ with lib; {
REGALADE_HOST = cfg.settings.host;
REGALADE_PORT = toString cfg.settings.port;
REGALADE_API_ALLOWED = cfg.settings.apiAllowed;
REGALADE_SERVE_APP = mkIf cfg.frontend.enable "${cfg.frontend.package}";
REGALADE_SQLX_LOGGING =
if cfg.settings.sqlxLogging
then "true"