From 5d84dacc266b11bd8fbf1e8a593835777a8ce877 Mon Sep 17 00:00:00 2001 From: traxys Date: Sat, 29 Jul 2023 11:33:51 +0200 Subject: [PATCH] Allow to serve the frontend in the NixOS module --- nixos/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/default.nix b/nixos/default.nix index 54b6805..b892f09 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -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"