Remove the frontend from the nixos module

This commit is contained in:
Quentin Boyer 2024-12-30 22:32:00 +01:00
parent ec03532a88
commit 720b7cef6a

View file

@ -88,15 +88,6 @@ with lib; {
type = types.nullOr types.path;
default = null;
};
frontend = {
enable = mkEnableOption "the frontend for regalade";
package = mkOption {
type = types.package;
default = self.packages.${config.nixpkgs.system}.frontend;
};
};
};
config = let
@ -142,7 +133,6 @@ 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"