Remove the frontend from the nixos module
This commit is contained in:
parent
ec03532a88
commit
720b7cef6a
1 changed files with 0 additions and 10 deletions
|
|
@ -88,15 +88,6 @@ with lib; {
|
||||||
type = types.nullOr types.path;
|
type = types.nullOr types.path;
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
frontend = {
|
|
||||||
enable = mkEnableOption "the frontend for regalade";
|
|
||||||
|
|
||||||
package = mkOption {
|
|
||||||
type = types.package;
|
|
||||||
default = self.packages.${config.nixpkgs.system}.frontend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = let
|
config = let
|
||||||
|
|
@ -142,7 +133,6 @@ with lib; {
|
||||||
REGALADE_HOST = cfg.settings.host;
|
REGALADE_HOST = cfg.settings.host;
|
||||||
REGALADE_PORT = toString cfg.settings.port;
|
REGALADE_PORT = toString cfg.settings.port;
|
||||||
REGALADE_API_ALLOWED = cfg.settings.apiAllowed;
|
REGALADE_API_ALLOWED = cfg.settings.apiAllowed;
|
||||||
REGALADE_SERVE_APP = mkIf cfg.frontend.enable "${cfg.frontend.package}";
|
|
||||||
REGALADE_SQLX_LOGGING =
|
REGALADE_SQLX_LOGGING =
|
||||||
if cfg.settings.sqlxLogging
|
if cfg.settings.sqlxLogging
|
||||||
then "true"
|
then "true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue