From 634534d3d22d8f458a70a1891d061c3cdefd4dd1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 May 2024 17:38:34 +0200 Subject: feat(module): add default for Web.Environment --- nix/modules/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nix/modules/default.nix') diff --git a/nix/modules/default.nix b/nix/modules/default.nix index 2480ce9..f6f8fbf 100644 --- a/nix/modules/default.nix +++ b/nix/modules/default.nix @@ -109,6 +109,12 @@ in 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."; -- cgit 1.4.1