all repos — searchix @ 634534d3d22d8f458a70a1891d061c3cdefd4dd1

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat(module): add default for Web.Environment

Alan Pearce
commit

634534d3d22d8f458a70a1891d061c3cdefd4dd1

parent

a94632eb788fd014bea0917a683896c44866f431

1 file changed, 6 insertions(+), 0 deletions(-)

jump to
M nix/modules/default.nixnix/modules/default.nix
@@ -109,6 +109,12 @@ description = "The base URL that searchix will be served on.";
default = "http://localhost:3000"; }; + environment = mkOption { + type = with types; either "production" "development"; + description = "Environment name for logging"; + default = "production"; + }; + sentryDSN = mkOption { type = types.str; description = "Optionally enable sentry to track errors.";